Re: [users@httpd] htaccess

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

 



-----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 +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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDZf+JXP03+sx4yJMRAjFgAKD3b4JOX99F+DQXH95Ak8XneSv60gCgik-
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux