You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Marc Slemko <ma...@znep.com> on 1998/11/12 18:40:01 UTC

Re: config/3281: Unable to get .htaccess to work at subdirec (fwd)

The following reply was made to PR config/3281; it has been noted by GNATS.

From: Marc Slemko <ma...@znep.com>
To: Apache bugs database <ap...@apache.org>
Cc:  Subject: Re: config/3281: Unable to get .htaccess to work at subdirec (fwd)
Date: Thu, 12 Nov 1998 09:30:53 -0800 (PST)

 ---------- Forwarded message ----------
 Date: Thu, 12 Nov 1998 12:56:37 +0000
 From: Mark Cousins <Ma...@sita.int>
 To: Marc Slemko <ma...@znep.com>
 Subject: Re: config/3281: Unable to get .htaccess to work at subdirec
 
 
 
 
 Marc,
 
 In reply to your prior message there are some areas I do not fully
 understand so in order to help you to help us here is a copy of our
 access.conf file to suggest any possible solutions.
 In reply to your questions ?
 
 Is this in a Directory container?
 >> I am not sure what a directory container is ?
 
 If so, what what?
 
 Where on the filesystem is the htaccess file located?
 All files as per access.conf for web are in /home/httpd/html/
 so have created a suddir under html called markc and put files in there.
 
 >> .htaccess file is located in /home/httpd/  = does work here. ( prevents
 access to main page )
 >> and located in /home/httpd/html/markc/  = does not work here.
 
 Are you sure the Directory container in question covers that location?
 
 >> As I am not sure about directory container I do not know how this
 directory can be covered
 by .htaccess file and rules.
 Or where to make thwe relevent entry in access.conf.
 
 
 ===========================================================================
 ===================
 ACCESS.CONF
 
 # This should be changed to whatever you set DocumentRoot to.
 
 <Directory /home/httpd/html>
 
 # This may also be "None", "All", or any combination of "Indexes",
 # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
 
 # Note that "MultiViews" must be named *explicitly* --- "Options All"
 # doesn't give it to you (or at least, not yet).
 
 Options Indexes FollowSymLinks
 
 # This controls which options the .htaccess files in directories can
 # override. Can also be "All", or any combination of "Options", "FileInfo",
 
 # "AuthConfig", and "Limit"
 
 #AllowOverride None
 AllowOverride AuthConfig
 
 
 # Controls who can get stuff from this server.
 
 order allow,deny
 allow from all
 
 </Directory>
 
 # /usr/local/etc/httpd/cgi-bin should be changed to whatever your
 ScriptAliased
 # CGI directory exists, if you have that configured.
 
 # <Directory /home/httpd/cgi-bin>
 <Directory /home/httpd/html>
 AllowOverride none
 Options All
 </Directory>
 
 
 # Allow server status reports, with the URL of
 http://servername/server-status
 # Change the ".your_domain.com" to match your domain to enable.
 
 #<Location /server-status>
 #SetHandler server-status
 
 #order deny,allow
 #deny from all
 #allow from .your_domain.com
 #</Location>
 
 # There have been reports of people trying to abuse an old bug from pre-1.1
 # days.  This bug involved a CGI script distributed as a part of Apache.
 # By uncommenting these lines you can redirect these attacks to a logging
 # script on phf.apache.org.  Or, you can record them yourself, using the
 script
 # support/phf_abuse_log.cgi.
 
 <Location /cgi-bin/phf*>
 deny from all
 ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
 </Location>
 
 # You may place any other directories or locations you wish to have
 # access information for after this one.
 
 Cheers
 Mark.Cousins
 
 ---------------------------[Mail message
 history]---------------------------
 
 
 To:       Mark Cousins/Northern Europe/London/SITA/WW
 cc:       Apache bugs database <ap...@apache.org>
 From:     Marc Slemko <ma...@znep.com>
 Date:     29/10/98 16:44:53
 Subject:  Re: config/3281: Unable to get .htaccess to work at subdirec
 
 
 
 
 On Thu, 29 Oct 1998, Mark Cousins wrote:
 
 >
 >
 >
 > Ryan,
 >
 > have checked the access.conf file and the entry is as follows:
 >
 > # This controls which option .htaccess files in directories can override.
 > # can also be "All", any combination of "options", "fileinfo",
 > "authconfig", and "limit"
 >
 > #allowoveride none
 > allowoveride authconfig
 
 Is this in a Directory container?
 
 If so, what what?
 
 Where on the filesystem is the htaccess file located?
 
 Are you sure the Directory container in question covers that location?
 
 
 
 --------------------------------------------------------------------------