1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| <VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /home/toto/webSocietaire/src/public/
ServerName soc.toto.fr
<Directory /home/toto/webSocietaire/src/public/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]
</Directory>
</VirtualHost>
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /home/toto/store/src/public/
ServerName store.toto.fr
<Directory /home/toto/store/src/public/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]
</Directory>
</VirtualHost> |