Re: Why does RW-R--R--) make .htaccess file available to server but
Web Server forum
Back To The Forum Home!Search!Private Messaging System

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




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-07 06: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.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:50 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register