httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] htaccess
Date Mon, 31 Oct 2005 11:27:06 GMT
-----BEGIN PGP SIGNED MESSAGE-----
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 up
> 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 credentials
> 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 +x (searchable) and +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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDZf╳䱄ࣅ耂菝븉㥿紗屿礂众鷤꿫䠂舩
NMauJDkCiJybhN0gpfYjaEw=
=025T
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message