J'ai re-résolu mon problème.
Voici ce que j'ai fais :
1. /etc/hosts
2. /etc/apache2/sites-enabled/000000-myhost
<VirtualHost *:80>
DocumentRoot "/var/www/mywebsite/public"
ServerName website
#This should be omitted in the production environment
SetEnv APPLICATION_ENV development
<Directory "/var/www/mywebsite/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
3. /var/www/aurelien-laval/.htaccess
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /public/index.php [NC,L]
Allow From All
Partager