Apache Server configuration support - Re: Why does RW-R--R--) make .htaccess file available to server but

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > July 2007 > Re: Why does RW-R--R--) make .htaccess file available to server but





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Why does RW-R--R--) make .htaccess file available to server but
David McKenzie

2007-07-19, 1:25 am

Reporter wrote:
> I was reading "A Comprehensive Guide to .htaccess" at
> http://www.javascriptkit.com/howto/htaccess.shtml
>
> It says "You may need to CHMOD the htaccess file to 644 or (RW-R--
> R--). This makes the file usable by the server, but prevents it from
> being read by a browser."
>
> I am confused. Why does the above mode ng make a file available to
> the server but not to the browser.
>
> Thank you.
>

This is because there is an option in httpd.conf to ban files including
..htaccess. You will have to check inside the httpd.conf file, I can't
remember the exact variable.

--
DM davidm@cia.com.au

The funny .sig is in the wash, I am your replacement.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com