Sous Debian Sarge, je viens d'installer apache2 (pour faire du Php/MySql).
Quand je tapes http://localhost/ dans Firefox, j'ai droit à :
-----------
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 PHP/4.3.10-16 Server at
localhost Port 80
-----------
Si jamais dans /etc/apache2/sites-enabled/000-default, je change
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
</Directory>
en AllowOverride All, je n'ai plus le "Additionnaly, a 403 ..." (mais j'ai
quand meme le 403).
Le dossier DocumentRoot appartient au groupe www-data (et tous ses
sous-dossiers).
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
David
Le Sun, 24 Sep 2006 16:17:47 +0200, Christophe Bondoin a écrit :
Sous Debian Sarge, je viens d'installer apache2 (pour faire du Php/MySql). Quand je tapes http://localhost/ dans Firefox, j'ai droit à :
----------- Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 PHP/4.3.10-16 Server at localhost Port 80 -----------
Si jamais dans /etc/apache2/sites-enabled/000-default, je change
<Directory />
a la place de / il faut mettre le répertoire réel pas l'URL ...
Le Sun, 24 Sep 2006 16:17:47 +0200, Christophe Bondoin a écrit :
Sous Debian Sarge, je viens d'installer apache2 (pour faire du Php/MySql).
Quand je tapes http://localhost/ dans Firefox, j'ai droit à :
-----------
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 PHP/4.3.10-16 Server at
localhost Port 80
-----------
Si jamais dans /etc/apache2/sites-enabled/000-default, je change
<Directory />
a la place de / il faut mettre le répertoire réel pas l'URL ...
Le Sun, 24 Sep 2006 16:17:47 +0200, Christophe Bondoin a écrit :
Sous Debian Sarge, je viens d'installer apache2 (pour faire du Php/MySql). Quand je tapes http://localhost/ dans Firefox, j'ai droit à :
----------- Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 PHP/4.3.10-16 Server at localhost Port 80 -----------
Si jamais dans /etc/apache2/sites-enabled/000-default, je change
<Directory />
a la place de / il faut mettre le répertoire réel pas l'URL ...
Christophe Bondoin
J'ai une autre directive pour le répertoire réel.
<Directory /home/cbondoin/dev/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place RedirectMatch ^/$ /apache2-default/ </Directory>
Et ça ne marche pas ...
------------ David wrote:
a la place de / il faut mettre le répertoire réel pas l'URL ...
J'ai une autre directive pour le répertoire réel.
<Directory /home/cbondoin/dev/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/
</Directory>
Et ça ne marche pas ...
------------
David wrote:
a la place de / il faut mettre le répertoire réel pas l'URL ...
<Directory /home/cbondoin/dev/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place RedirectMatch ^/$ /apache2-default/ </Directory>
Et ça ne marche pas ...
------------ David wrote:
a la place de / il faut mettre le répertoire réel pas l'URL ...
zoot
Christophe Bondoin wrote:
Sous Debian Sarge, je viens d'installer apache2 (pour faire du Php/MySql). Quand je tapes http://localhost/ dans Firefox, j'ai droit à :
----------- Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 PHP/4.3.10-16 Server at localhost Port 80 -----------
Si jamais dans /etc/apache2/sites-enabled/000-default, je change
<Directory /> Options FollowSymLinks AllowOverride None Order allow,deny allow from all </Directory>
en AllowOverride All, je n'ai plus le "Additionnaly, a 403 ..." (mais j'ai quand meme le 403).
Le dossier DocumentRoot appartient au groupe www-data (et tous ses sous-dossiers).
Quelqu'un aurait une idée ?
Qulles sont les permission du directory ?? Est ce que le user, sous lequel tourne apache, peut accesder ce directory ?? Zoot
Christophe Bondoin wrote:
Sous Debian Sarge, je viens d'installer apache2 (pour faire du Php/MySql).
Quand je tapes http://localhost/ dans Firefox, j'ai droit à :
-----------
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 PHP/4.3.10-16 Server at
localhost Port 80
-----------
Si jamais dans /etc/apache2/sites-enabled/000-default, je change
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
</Directory>
en AllowOverride All, je n'ai plus le "Additionnaly, a 403 ..." (mais j'ai
quand meme le 403).
Le dossier DocumentRoot appartient au groupe www-data (et tous ses
sous-dossiers).
Quelqu'un aurait une idée ?
Qulles sont les permission du directory ??
Est ce que le user, sous lequel tourne apache, peut accesder ce
directory ??
Zoot
Sous Debian Sarge, je viens d'installer apache2 (pour faire du Php/MySql). Quand je tapes http://localhost/ dans Firefox, j'ai droit à :
----------- Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 PHP/4.3.10-16 Server at localhost Port 80 -----------
Si jamais dans /etc/apache2/sites-enabled/000-default, je change
<Directory /> Options FollowSymLinks AllowOverride None Order allow,deny allow from all </Directory>
en AllowOverride All, je n'ai plus le "Additionnaly, a 403 ..." (mais j'ai quand meme le 403).
Le dossier DocumentRoot appartient au groupe www-data (et tous ses sous-dossiers).
Quelqu'un aurait une idée ?
Qulles sont les permission du directory ?? Est ce que le user, sous lequel tourne apache, peut accesder ce directory ?? Zoot