httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <>
Subject Re: [users@httpd] Re: possible to add multiple locations for the document root
Date Tue, 26 Oct 2010 09:35:57 GMT
On Mon, Oct 25, 2010 at 3:28 PM, e-letter <> wrote:

> Below is extract from the file '/etc/httpd/logs/error_log':
> [Mon Oct 25 12:35:59 2010] [notice] Apache/2.2.6 (Mandriva
> Linux/PREFORK-8.2mdv2008.0) PHP/5.2.4 with Suhosin-Patch mod_put/2.0.8
> configured -- resuming normal operations
> [Mon Oct 25 13:30:59 2010] [error] [client] client denied by
> server configuration: /usr/local/phppgadmin/phppgadmin/login.php
> This doesn't explain anything to me. Advice please?

It says that the "client", (ie. you, your browser) was denied access
to the resource by something in your server configuration.
Now, I suspect that it has something  to do whith how you configured
php. Probably apache looks at the file, notices it is php, knows that
it has a handler for it, and thus looks if you have permission to
execute scripts from that directory.
Probably you don't.
So rewrite your directory block like this:
<Directory /usr/local/phppgadmin/phppgadmin>
Options +ExecCGI
Order allow,deny
Allow from all


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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:

View raw message