[VirtualHost + htaccess] Nouvelle application
Le rewriting pose problème chez moi due certainement à ma configuration apache ou mon htaccess.
Quand je vais sur :
monsite.com/app_dev.php/login << FoSUserBundle donc ça fonctionne
monsite.com/login ne marche pas.
Quand je fais un php app/console router:debug j'ai bien :
fos_user_security_login ANY /login
Voici mon VHost :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<VirtualHost *:80>
ServerAdmin monmail@gmail.com
ServerName projet.home
ServerAlias projet.home
DocumentRoot /var/www/projet/web
DirectoryIndex app_dev.php
<Directory /var/www/projet/web>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/projet.err
LogLevel warn
CustomLog /var/log/apache2/projet.log combined
ServerSignature Off
</VirtualHost> |
Une idée de pourquoi je dois faire un AllowOverride None et que mon .htaccess de base ne contienne que "deny from all" ?
Bref un peu le début cahotique de l'appli :mrgreen: