[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X - Apache & Case Insensitive Filesystems



on 6/10/01 10:53 AM, Stefan Arentz at stefan.arentz@soze.com wrote:

>   <Directory /Library/WebServer/Documents/test>
>     Order deny,allow
>     Deny from all
>   </Directory>
> 
> But the following request will happily serve the file:
> 
>   GET /TeSt/index.html

Though it causes a bit of a performance penalty, a .htaccess file in a
protected directory will resolve that problem.

Make sure that the web server directory in the config file is set to:

AllowOverride Limit AuthConfig

Or

AllowOverride All

Then in the protected directory, /Library/WebServer/Documents/test, add a
.htaccess file containing:

    Order deny,allow
    Deny from all

I too would prefer apple to make it's modules available, but I think this is
a good workaround.

Sincerely,

Paul Burney

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Paul Burney
Webmaster && Open Source Developer
UCLA -> GSE&IS -> ETU
(310) 825-8365
<webmaster@gseis.ucla.edu>
<http://www.gseis.ucla.edu/>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++