LetoDMS Community Forum
Hiding config files - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10)
+--- Thread: Hiding config files (/showthread.php?tid=546)



Hiding config files - sarulezzz - 08-31-2012

Hi,

how can I hide config files? I installed LetoDMS and now user is able to see config at http://localhost/letodms/conf/settings.xml


RE: Hiding config files - steinm - 08-31-2012

(08-31-2012, 01:59 PM)sarulezzz Wrote: Hi,

how can I hide config files? I installed LetoDMS and now user is able to see config at http://localhost/letodms/conf/settings.xml

Add a .htaccess file

Code:
<Files ~ "^settings\.xml">
Order allow,deny
Deny from all
</Files>

Uwe


RE: Hiding config files - sarulezzz - 08-31-2012

(08-31-2012, 02:05 PM)steinm Wrote: Add a .htaccess file

Code:
<Files ~ "^settings\.xml">
Order allow,deny
Deny from all
</Files>

Uwe

Oh, I have installed LetoDMS-3.3.0. That version doesn't have .htaccess in "conf" directory. But as I can see there is .htaccess in the 3.3.7 version. Thank you!