Nous sommes le Dim 03 Août, 2025 18:09
Supprimer les cookies

Prob avec l'url rewriting

Le choix d'Ubuntu pour mes premiers pas Linux

Jeu 07 Déc, 2006 13:27

Bonjour,

Avant de vous communiquer mon problème je vous fait un bref rappel de mon installation :

J'utilise Ubuntu V2-Server ( chez Dédibox ), j'ai un nom de domaine ( abandonware-paradise.eu ) enregistré chez NETIM dont une redirection par IP effective renvoie sur mon serveur.

Mon problème est le suivant :

L'url rewriting ne fonctionne pas lorsque j'utilise mon nom de domaine pour me rendre sur mon site web ( ex : abandonware-paradise.eu/index.html ), un message 404 Not Found apparâit.
Par contre si je me connecte comme ceci : www.abandonware-paradise.eu/index.php le site web marche correctement.
Le plus surprenant est que lorsque je me rend sur mon site web directement avec mon IP ( ex : 80.152....25/abandonware-paradise/index.html ) l'url rewriting fonctionne.
Je pense donc qu'il y à un soucis avec mon VirtualHost, dont voici sa configuration :

Code: Tout sélectionner
NameVirtualHost *:80

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /var/www/cgi-bin/
        <Directory "/var/www/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

ErrorLog /var/log/apache2/error.log

</VirtualHost>


<VirtualHost *:80>
       DocumentRoot /var/www/abandonware-paradise
       ServerName abandonware-paradise.eu
       ServerAlias *abandonware-paradise.eu
       ErrorLog /var/www/httpd/vhosts/abandonware-paradise.eu/logs/error.log
       LogLevel warn
       CustomLog /var/www/httpd/vhosts/abandonware-paradise.eu/logs/access.log combined
       ServerSignature ON
       <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

</VirtualHost>


J'ai beau essayer de modifier mon VirtualHost mais rien n'y fait, je ne comprend vraiment pas ou ce trouve le problème :(

Quelqu'un peut-il m'aider svp ?
zubaran

Messages : 7

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit