[gentoo-user] newly emerged apache permissions error

2006-06-02 Thread Chad Leigh -- Shire.Net LLC
I set up a box to run asterisk and try various asterisk front ends  
on.  This was back in January.  I got gentoo installed and emerged  
apache2, php5, and mysql.  Then I did not touch the box again until  
tonight.


I cannot get apache to actually serve any pages.



Forbidden

You don't have permission to access /test.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to  
use an ErrorDocument to handle the request.




It does not matter what file I ask it for, index.html, index.php, / ,  
etc, I get the same error.


I have a DocumentRoot plus newly a virtual host pointing to the same  
DocumentRoot with the right ServerName and teh directories are all  
owned by apache:apache, which is the user the server runs under.  The  
files all have owner and group permissions.   Everything is set to  
not deny and to allow all.


I run apache2 on FreeBSD just fine and I cannot see anything in the  
config that should prevent this.  Something about the default gentoo  
config or install it seems.


Any hints or help is greatly appreciated.

Thanks
Chad



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newly emerged apache permissions error

2006-06-02 Thread Justin R Findlay
On Fri, Jun 02, 2006 at 12:03:11AM -0600, Chad Leigh -- Shire.Net LLC wrote:
 
 I cannot get apache to actually serve any pages.

check your apache logs.  Try:

# tail -F /var/log/apache/error_log

and reload the page and see what happens.  It should give you a specific
reason why it fails.  Even if you don't understand the error google
might and somebody here will.


Justin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newly emerged apache permissions error

2006-06-02 Thread Chad Leigh -- Shire.Net LLC


On Jun 2, 2006, at 12:24 AM, Chad Leigh -- Shire.Net LLC wrote:



On Jun 2, 2006, at 12:11 AM, Justin R Findlay wrote:

On Fri, Jun 02, 2006 at 12:03:11AM -0600, Chad Leigh -- Shire.Net  
LLC wrote:


I cannot get apache to actually serve any pages.


check your apache logs.


Thanks, I have been doing that.


  Try:

# tail -F /var/log/apache/error_log

and reload the page and see what happens.  It should give you a  
specific

reason why it fails.  Even if you don't understand the error google
might and somebody here will.


[Fri Jun 02 00:22:13 2006] [error] [client 192.168.99.68] (13) 
Permission denied: access to /test.php denied


I actually think this and my mysql question (separate post) are  
related as both have a 13 error code and Google implies (ie, I did  
not verify the info) that error 13 is a unix Permission Denied error.


But I don't see how as the owners of all the dirs are the users  
associated with the programs (apache or mysql) and on the mysql end I  
even changed the dirs to be 777 as a test.


Is there some sort of system wide gentoo security thing set somewhere

here is my uname

Linux denwa 2.6.14-gentoo-r5 #1 Sun Jan 15 23:32:30 MST 2006 i686 AMD  
Opteron(tm) Processor 148 AuthenticAMD GNU/Linux


thanks
Chad



not very useful.  This came out of the virtual server error log for  
the vhost I set up to see if that was the issue.  Before, when I  
was using the direct server set up in the normal httpd.conf the  
same lines ended up in error_log.   Nothing else.


thanks
Chad




Justin
--
gentoo-user@gentoo.org mailing list



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



--
gentoo-user@gentoo.org mailing list



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



--
gentoo-user@gentoo.org mailing list