Bonsoir à tous
Tout d'abord ma config: ubuntu, apache2, plusieurs projets dans mon dossier WWW

Voulant tester symfony, j'ai modifié le fichier httpd.conf en m'inspirant de ce que j'ai pu trouver sur le net. Problème: maintenant mon alias fonctionne bien mais "localhost" renvoit vers la page de mon projet symfony et non plus à la racine de "/var/www".

Je pense que le problème est simple, et il vient sans doute de mon httpd.conf:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Config pour Symfony
<VirtualHost *:80>
  ServerName localhost
  DocumentRoot "/var/www/monprojet/web"
  DirectoryIndex index.php
  Alias /sf /var/www/monprojet/lib/vendor/symfony/data/web/sf
  <Directory "/var/www/monprojet/lib/vendor/symfony/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
  <Directory "/var/www/monprojet/web">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>
Je suis vraiment novice avec tout ce qui touche à la config d'apache, tout ça me semble complètement abscons.