Web Servers on Unix and Linux - Re: .htaccess prevents itself from being viewed but not "sess*" files in dir

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > December 2006 > Re: .htaccess prevents itself from being viewed but not "sess*" files in dir





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: .htaccess prevents itself from being viewed but not "sess*" files in dir
phillip.s.powell@gmail.com

2006-12-08, 1:17 pm


HansH wrote:
> <phillip.s.powell@gmail.com> schreef in bericht
> news:1165529250.835286.151950@l12g2000cwl.googlegroups.com...
> What files are to be denied without specifying a filename ??
> Test for me
> <Files ~ ".">


Sorry I tried that and the session files are still viewable via
browser:

<Files ~ ".">
order allow,deny
deny from all
</Files>

>
> Thinking name-dot-extention ... is a MicroSoft doctrine.
>
>
> BTW your sess* files are at the document_root ...???
> If not, try
> <Location /<folder>/>
> order allow,deny
> deny from all
>


Sorry that also failed; the session files are easily viewable via
browser

<Location /path/to/session/files>
order allow,deny
deny from all
</Location>


> HansH
> </Location>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com