Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NameVirtualHost *:80
- <VirtualHost *:80>
- ServerName test
- DocumentRoot /var/www/html/test/public
- <Directory /var/www/html/test/public>
- AllowOverride None
- Require all granted
- Allow from All
- <IfModule mod_rewrite.c>
- Options -MultiViews
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(.*)$ index.php [QSA,L]
- </IfModule>
- </Directory>
- <Directory /var/www/html/test/public/bundles>
- <IfModule mod_rewrite.c>
- RewriteEngine Off
- </IfModule>
- </Directory>
- ErrorLog /var/log/apache2/test.log
- CustomLog /var/log/apache2/test.log combined
- # optionally set the value of the environment variables used in the application
- #SetEnv APP_ENV prod
- #SetEnv APP_SECRET <app-secret-id>
- #SetEnv DATABASE_URL "mysql://root:@localhost/symfony
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement