httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
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 <inpost@gmail.com> 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 127.0.0.1] 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
</Directory>


Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
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: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