httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alastair Roy <>
Subject RE: [users@httpd] htaccess
Date Mon, 31 Oct 2005 20:31:50 GMT
Ok AllowOveride All is set in the config file


I have attached the errorlog and the access log to this e-mail there is
nothing in the error log that points to the file system denying access if I
remove the .htaccess and .htpasswd files I still do not gain access to the
directory where the .htaccess and .htpasswd files were, even after
restarting apache, so now I am at a loss 


I have also attached a copy of my .htaccess and .htpasswd files


I have also attached the /etc/httpd/httpd.conf file


This evening I changed all the permissins on all files in the web root
directory to user:www group:www this made no difference, also changed the
permissions on the htaccess and htpasswd files to 755 still no difference.
Now I am running out of ideas. 


Thanks again for the help




From: Joshua Kogut [] 
Sent: 31 October 2005 19:46
Subject: Re: [users@httpd] htaccess


Also, you should do

AllowOveride All

to enable the .htaccess files to change the config.

On 10/31/05, Rich Bowen < <> >

Hash: SHA1

Alastair Roy wrote:
> Ladies and gentlemen please if you can be of any assistance I would 
> appreciate it.
> The problem is htaccess or my lack of understanding thereof I have set it
> on a directory but when I try to access the directory I DO NOT get
> challenged for a password I just get the forbidden message in my web 
> browser, what I want is the browser so open a dialog box asking for my
> username and password, and grant/or deny me access based on the
> supplied, any ideas what I am doing wrong. ?
> Forbidden
> You don't have permission to access /secure/users/ on this server.

You actually have two problems, not one.
First, you need to fix the Forbidden problem. This could be a file
permission problem, or it could be a configuration problem. You'll need 
to look in the error log to be sure.
If it's a file permission problem, you'll need to make sure that the
directories in question are +ACs-x (searchable) and +ACs-r (readable) by the
Apache user.
If it's a "denied by server configuration" message in the error log, 
you'll need to make sure that there is a directory block referring to
this directory, with an "allow" directive there.
Of course, presumably, if you're using .htaccess files, that infers that
you don't have access to the main server configuration file, so perhaps 
these things are not in your power to do.

So, let's start with the error log. What does it say?

- --Rich
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird -


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:
<> > for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

||  jmkogut  ||
email: <> 
|| Networking: Where all your problems are category 5. ||

Visit our websites: “bite size news and gossip” The Worlds Greatest Newspaper Simply The Best 7 Days A Week The One Stop Shopping Magazine First For Celebrity News The Mark Of Excellence  Express Newspapers and OK Magazine online picture archive

Also visit:

The NMA: Opening Up Newspapers

Any views or opinions are solely those of the author 
and do not necessarily represent those of Express Newspapers
The information transmitted is intended only for the person 
or entity to which it is addressed and may contain confidential 
and/or privileged material.If you are not the intended recipient
of this message please do not read ,copy, use or disclose this 
communication and notify the sender immediately. It should be 
noted that any review, retransmission, dissemination or other 
use of, or taking action in reliance upon, this information by 
persons or entities other than the intended recipient is prohibited.
E-mail communications may be monitored.


View raw message