Re: Mac OS X - Apache & Case Insensitive Filesystems

From: Paul Burney (burneyat_private)
Date: Mon Jun 11 2001 - 09:41:08 PDT

  • Next message: Scott Gifford: "Re: Mac OS X - Apache & Case Insensitive Filesystems"

    on 6/10/01 2:06 PM, Paul Burney (burneyat_private) wrote:
    
    > Then in the protected directory, /Library/WebServer/Documents/test, add a
    > .htaccess file containing:
    > 
    >   Order deny,allow
    >   Deny from all
    
    Of course, upon further reflection, the following also needs to be added to
    the httpd.conf file:
    
    <Files ~ "^\.(ht|HT|Ht|hT)">
        Order allow,deny
        Deny from all
    </Files>
    
    To prevent users from viewing the encrypted form of your password by passing
    a request like:
    
    http://somesever/somedir/.Htaccess
    
    The above is untested but it should work.
    
    Sincerely,
    
    Paul Burney
    
    +-------------------------+---------------------------------+
    | Paul Burney             | P: 310.825.8365                 |
    | Webmaster && Programmer | E: <webmasterat_private>   |
    | UCLA -> GSE&IS -> ETU   | W: <http://www.gseis.ucla.edu/> |
    +-------------------------+---------------------------------+
    



    This archive was generated by hypermail 2b30 : Tue Jun 12 2001 - 13:37:22 PDT