httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rod Rook" <rod.r...@gmail.com>
Subject Re: [users@httpd] Permission Problem with apache2 and FC6
Date Tue, 02 Jan 2007 18:22:46 GMT
Thank you for your help. I followed your suggestion and not my web server is
accessible.

Now what do I do to turn SELinux on? Or do I have to do without it?

pine

On 1/2/07, ganesh ganesh <ganeshapache@gmail.com> wrote:
>
> Hi,
>
>   Use the following command "setenforece 0". check your issue once that
> has been done and check with the logs, if you still have the issue...
> provide the logs again
>
>
>
>
> On 1/2/07, Rod Rook <rod.rook@gmail.com> wrote:
>
> > I am currently running httpd web server under FC4 and in the process of
> > migrating to FC6.
> >
> > Under FC6, I configured /etc/httpd/conf/httpd.cong almost exactly as
> > under FC5.
> >
> > Now I am getting the following error messages. (Please also see the
> > attached .jpg file.)
> >
> >  Quote:
> >   Forbidden: You don't have permission to access /main.php
> > Here is the file permission as they ae now:
> >  Quote:
> >   -rwxr-xr-x 1 user_u:object_r:user_home_t webroot webroot 466 Feb 27
> > 2006 index.php
> > -rwxr-xr-x 1 user_u:object_r:user_home_t webroot webroot 4197 Feb 27
> > 2006 main.php
> > -rwxr-xr-x 1 user_u:object_r:user_home_t webroot webroot 529 Nov 29 2005
> > menu.php
> > /etc/httpd/conf/httpd.conf also has the following lines.
> >
> >  Quote:
> >   DirectoryIndex index.html index.html.var index.shtml index.cgi
> > index.php index.phtml index.php3 index.htm home.html welcome.html
> > AddType application/x-compress .Z
> > AddType application/x-gzip .gz .tgz
> > AddType application/x-httpd-php .php .phps .php3 .phtml .html .htm
> > .shtml .fds
> > Do you have any suggestions as to where I should look to solve the
> > problem?
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
> >
>
>
> --
> Regards,
> GANESH.

Mime
View raw message