Re: Re: possible to add multiple locations for the document root

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

 



On Mon, Oct 25, 2010 at 3:28 PM, e-letter <inpost@xxxxxxxxx> 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@xxxxxxxxx
krist@xxxxxxxxxxxxx
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@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