PDA

View Full Version : Cannot access the web setup : Access Forbidden


Neoseifer
08-30-2007, 03:23 PM
(en français plus bas)

Hi,

I just installed Oreon 1.4.1 with no error.
The problem is at the end of the setup : I cannot access http://127.0.0.1/oreon.

Apache said "Access forbidden"

I've verified the apache config and it seems ok : I have an "oreon.conf" file in the conf.d folder of apache2 with this config :

##
## Section add by OREON Install Setup
##

AddType application/x-java-jnlp-file .jnlp
Alias /oreon/ /usr/local/oreon/www/
<Directory "/usr/local/oreon/www">
Options None
AllowOverride AuthConfig Options
Order allow,deny
Allow from all
</Directory>


When I try to access /oreon, I have this message in the apache error_log :

[error] [client 127.0.0.1] Directory index forbidden by Options directive : /usr/local/oreon/www


The nagios web access, for its part, works fine and is installed in /usr/local/nagios/share

I'm using OpenSuse, apache2 and php5.

Any idea ?

---------------------------------------

Bonjour,

Je viens d'installer Oreon 1.4.1, aucune erreur lors de la première phase.
Les problèmes commencent au moment où je dois continuer le setup sous forme de page web : Impossible d'accéder à http://127.0.0.1/oreon.

Apache répond par une erreur "Access forbidden"

Pourtant tout semble ok dans la config d'apache : J'ai un fichier "oreon.conf" dans "conf.d" qui contient :

##
## Section add by OREON Install Setup
##

AddType application/x-java-jnlp-file .jnlp
Alias /oreon/ /usr/local/oreon/www/
<Directory "/usr/local/oreon/www">
Options None
AllowOverride AuthConfig Options
Order allow,deny
Allow from all
</Directory>


Quand j'essaye d'accéder à 12.0.0.1/oreon, j'ai ce message dans le fichier error_log d'apache :

[error] [client 127.0.0.1] Directory index forbidden by Options directive : /usr/local/oreon/www


Pourtant, l'accès web de nagios fonctionne parfaitement, il est installé dans /usr/local/nagios/share

J'utilise OpenSuse, apache2 et php5.

Une idée ?

Neoseifer
08-30-2007, 05:16 PM
It works ! Indeed, it was because of a bad php configuration. the error message was confusing.


C'est réglé. En fait, c'était un emauvaise configuration de php ! Le message d'erreur était trompeur.