How does a CHMOD setting of 644 prevent a browser from reading a file?
am 19.07.2007 06:53:01 von TS Moderator1
I was reading "Comprehensive guide to .htaccess" at
http://www.javascriptkit.com/howto/htaccess.shtml
It says "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"
How does the setting of 644 on a file prevent a browser from reading
it?
Re: How does a CHMOD setting of 644 prevent a browser from readinga file?
am 19.07.2007 07:05:51 von David McKenzie
Reporter wrote:
> I was reading "Comprehensive guide to .htaccess" at
> http://www.javascriptkit.com/howto/htaccess.shtml
>
> It says "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"
>
> How does the setting of 644 on a file prevent a browser from reading
> it?
>
I already answered you: there is an option in the httpd.conf file.
--
DM davidm@cia.com.au
The funny .sig is in the wash, I am your replacement.