PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > Problems accessing directory in server document root
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

Problems accessing directory in server document root

Réponse
 
LinkBack Outils de la discussion
Vieux 08/07/2005, 02h46   #1
Rajesh Viswanathan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Problems accessing directory in server document root

I unpacked webcalendar and placed it in its own directory under the
root html directory (var/www/html). I can read
/var/www/html/webcal/index.html but if I try to access
/var/www/html/index.php or readme.html I get a 403 access to that file
is denied error (the error log has a permission denied entry). I have
tried different permission combinations including 777, 644, 755, 711).
I have a standard .htaccess file with no directives. The httpd.conf
file is default with user/group default to apache, apache. The webcal
directory ownership/group is root.root (I also tried apache.apache).
But nothing has worked so far. I am running a fedora core 4.

Any is greatly appreciated.

  Réponse avec citation
Vieux 08/07/2005, 09h51   #2
Tim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems accessing directory in server document root

On Thu, 07 Jul 2005 18:46:13 -0700, Rajesh Viswanathan wrote:

> I get a 403 access to that file is denied error (the error log has a
> permission denied entry). I have tried different permission combinations
> including 777, 644, 755, 711). I have a standard .htaccess file with no
> directives. The httpd.conf file is default with user/group default to
> apache, apache. The webcal directory ownership/group is root.root (I
> also tried apache.apache). But nothing has worked so far. I am running a
> fedora core 4.


With Fedora Core 3, at least, SELinux *adds* *more* restrictions to what
can be served, that might still be the case with Fedora Core 3. There's a
FAQ about this on the Fedora website:
<http://fedora.redhat.com/docs/selinux-apache-fc3/>

See if that s you out.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.

  Réponse avec citation
Vieux 08/07/2005, 09h51   #3
Tim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems accessing directory in server document root

On Thu, 07 Jul 2005 18:46:13 -0700, Rajesh Viswanathan wrote:

> I get a 403 access to that file is denied error (the error log has a
> permission denied entry). I have tried different permission combinations
> including 777, 644, 755, 711). I have a standard .htaccess file with no
> directives. The httpd.conf file is default with user/group default to
> apache, apache. The webcal directory ownership/group is root.root (I
> also tried apache.apache). But nothing has worked so far. I am running a
> fedora core 4.


With Fedora Core 3, at least, SELinux *adds* *more* restrictions to what
can be served, that might still be the case with Fedora Core 3. There's a
FAQ about this on the Fedora website:
<http://fedora.redhat.com/docs/selinux-apache-fc3/>

See if that s you out.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.

  Réponse avec citation
Vieux 08/07/2005, 14h36   #4
Rajesh Viswanathan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems accessing directory in server document root

Tim,

Thank you for the SELinux reference. That was the problem - I used
chcon to allow access to the files and everything was accessible.

Gratefully yours.

rj

  Réponse avec citation
Vieux 08/07/2005, 14h36   #5
Rajesh Viswanathan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems accessing directory in server document root

Tim,

Thank you for the SELinux reference. That was the problem - I used
chcon to allow access to the files and everything was accessible.

Gratefully yours.

rj

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h45.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09204 seconds with 13 queries