Advertisement
Guest User

code

a guest
Mar 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. Alias /application/ "/var/www/site.cd.local/app/"
  2.  
  3. <Directory /var/www/site.cd.local/app>
  4. Options All
  5. AllowOverride All
  6. <IfModule mod_rewrite.c>
  7. <IfModule mod_negotiation.c>
  8. Options -MultiViews
  9. </IfModule>
  10.  
  11. # Redirect Trailing Slashes If Not A Folder...
  12. RewriteCond %{REQUEST_FILENAME} !-d
  13. RewriteRule ^(.*)/$ /$1 [L,R=301]
  14.  
  15. # Handle Front Controller...
  16. RewriteCond %{REQUEST_FILENAME} !-d
  17. RewriteCond %{REQUEST_FILENAME} !-f
  18. RewriteRule ^ index.php [L]
  19. </IfModule>
  20. order allow,deny
  21. allow from all
  22. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement