Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hiding config files
#1
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
Reply
#2
(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
Reply
#3
(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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)