You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kailash Vyas <ka...@gmail.com> on 2006/05/26 00:18:22 UTC
[users@httpd] apache suexec problem
Hi,
I have been trying to setup apache to access user dirsfor apache 2.2
forexample I am setting up a example host
<VirtualHost 192.168.1.3:80>
ServerAlias example.com
ServerAdmin info@example.com
DocumentRoot /home/example/public_html
ServerName www.example.com
SuexecUserGroup example example
</VirtualHost>
I am also enabling suexec and find this on starting server
=[Fri May 26 00:10:06 2006] [notice] suEXEC mechanism enabled
(wrapper: /usr/local/apache2/bin/suexec)
but when I run in browser i get this 403 forbidden error
Forbidden
You don't have permission to access / on this server.
Do I need to specify any other changes
Permission of public_html
drwxrwxr-x 3 example example 4096 May 25 23:55 public_html
What do I need to specify so that I can get this config up and running
Thanks,
Kailash
---------------------------------------------------------------------
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
Re: [users@httpd] apache suexec problem
Posted by Kailash Vyas <ka...@gmail.com>.
hi,
I found the problem. I have commented the deny from all in directory
tag. Now it is working.
thanks,
Kailash
On 5/27/06, Kailash Vyas <ka...@gmail.com> wrote:
> I am getting this in error logs
>
> [Sat May 27 13:18:32 2006] [error] [client 192.168.1.3] client denied
> by server configuration: /home/example/public_html/
> [Sat May 27 13:18:33 2006] [error] [client 192.168.1.3] client denied
> by server configuration: /home/example/public_html/favicon.ico
>
> thanks,
> Kailash
>
>
> On 5/26/06, Joshua Slive <jo...@slive.ca> wrote:
> > On 5/25/06, Kailash Vyas <ka...@gmail.com> wrote:
> >
> > > but when I run in browser i get this 403 forbidden error
> > >
> > > Forbidden
> > > You don't have permission to access / on this server.
> > > Do I need to specify any other changes
> >
> > This likely has nothing to do with suexec. What does the error_log
> > say for this request?
> >
> > Joshua.
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
---------------------------------------------------------------------
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
Re: [users@httpd] apache suexec problem
Posted by Kailash Vyas <ka...@gmail.com>.
I am getting this in error logs
[Sat May 27 13:18:32 2006] [error] [client 192.168.1.3] client denied
by server configuration: /home/example/public_html/
[Sat May 27 13:18:33 2006] [error] [client 192.168.1.3] client denied
by server configuration: /home/example/public_html/favicon.ico
thanks,
Kailash
On 5/26/06, Joshua Slive <jo...@slive.ca> wrote:
> On 5/25/06, Kailash Vyas <ka...@gmail.com> wrote:
>
> > but when I run in browser i get this 403 forbidden error
> >
> > Forbidden
> > You don't have permission to access / on this server.
> > Do I need to specify any other changes
>
> This likely has nothing to do with suexec. What does the error_log
> say for this request?
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
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
Re: [users@httpd] apache suexec problem
Posted by Joshua Slive <jo...@slive.ca>.
On 5/25/06, Kailash Vyas <ka...@gmail.com> wrote:
> but when I run in browser i get this 403 forbidden error
>
> Forbidden
> You don't have permission to access / on this server.
> Do I need to specify any other changes
This likely has nothing to do with suexec. What does the error_log
say for this request?
Joshua.
---------------------------------------------------------------------
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