Results 1 to 9 of 9
-
04-29-2005, 04:50 PM #1WHT Addict
- Join Date
- Jul 2003
- Location
- Vancouver
- Posts
- 161
Virtual Hosting + Apache + SuExec problem
I get a 403 forbidden error when trying to access media.fungod.com
Apache is set to run under user apache
Error-log report:
[Fri Apr 29 21:52:24 2005] [error] [client 24.85.134.45] (13)Permission denied: access to / failed because search permissions are missing on a component of the path
I Have configured and install suexec: It loads
[Fri Apr 29 21:45:30 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
This is my Apache vh config:
NameVirtualHost 70.85.111.139:80
<VirtualHost 70.85.111.139:80>
ServerName media.fungod.com
ServerAdmin webmaster@fungod.com
DocumentRoot /home/fungod/html
ServerName media.fungod.com
ErrorLog logs/fungod.com-error_log
CustomLog logs/fungod.com-access_log common
</VirtualHost>The Trend PimP
http://www.trendpimp.com
-
04-29-2005, 05:02 PM #2Aspiring Evangelist
- Join Date
- Jan 2004
- Posts
- 448
Look to be missing a Server Alias directive.
ServerAlias media.fungod.com www.media.fungod.com
-
04-29-2005, 05:13 PM #3WHT Addict
- Join Date
- Jul 2003
- Location
- Vancouver
- Posts
- 161
I'm still getting the 403 forbidden error.
The Trend PimP
http://www.trendpimp.com
-
04-29-2005, 05:40 PM #4Web Hosting Master
- Join Date
- Apr 2004
- Location
- SF Bay Area
- Posts
- 879
Re: Virtual Hosting + Apache + SuExec problem
Originally posted by Rclark
(13)Permission denied: access to / failed because search permissions are missing on a component of the path
<VirtualHost 70.85.111.139:80>
DocumentRoot /home/fungod/html
</VirtualHost>
Sorry if I'm insulting your intelligence--just curious if the error is describing an exact problem on the filesystem (i.e., it's being literal) or if it's another problem.
I Have configured and install suexec: It loads
[Fri Apr 29 21:45:30 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
-
04-30-2005, 03:17 PM #5Newbie
- Join Date
- Apr 2005
- Posts
- 11
What OS/ distribution, kernel are you running?
-
04-30-2005, 06:59 PM #6WHT Addict
- Join Date
- Jul 2003
- Location
- Vancouver
- Posts
- 161
RH ES 3 with the latest kernel.
I thought suexec might be causing problems with my predefined User/Group defines in my <VirtualHost> tag.
But I'm just not sure why it isn't reading the index.html in /home/fungod/htmlThe Trend PimP
http://www.trendpimp.com
-
04-30-2005, 07:14 PM #7WHT Addict
- Join Date
- Jul 2003
- Location
- Vancouver
- Posts
- 161
I fixed it ! Woot. thanks for the replies people. you rock
The Trend PimP
http://www.trendpimp.com
-
04-30-2005, 10:21 PM #8Aspiring Evangelist
- Join Date
- Jan 2004
- Posts
- 448
Originally posted by Rclark
I fixed it ! Woot. thanks for the replies people. you rock
-
05-01-2005, 03:13 AM #9WHT Addict
- Join Date
- Jul 2003
- Location
- Vancouver
- Posts
- 161
/home/fungod wasn't 755
The Trend PimP
http://www.trendpimp.com