Advertisement
Guest User

Untitled

a guest
Jul 15th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <VirtualHost *:80>
  2. DocumentRoot /var/www/test/web
  3. ServerName spike
  4.  
  5. <Directory /var/www/test/web/>
  6. DirectoryIndex app_dev.php
  7. AllowOverride All
  8. Allow from All
  9.  
  10. # found in .htaccess in web dir
  11. #RewriteEngine On
  12. #RewriteCond %{REQUEST_FILENAME} !-f
  13. #RewriteRule ^/web/?(.*)$ app.php [QSA,L]
  14. RedirectMatch permanent ^/app_dev\.php/(.*) /$1
  15. </Directory>
  16.  
  17. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement