Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. ### SILVERSTRIPE START ###
  2. <Files *.ss>
  3. Order deny,allow
  4. Deny from all
  5. Allow from 127.0.0.1
  6. </Files>
  7.  
  8. <Files web.config>
  9. Order deny,allow
  10. Deny from all
  11. </Files>
  12.  
  13. # This denies access to all yml files, since developers might include sensitive
  14. # information in them. See the docs for work-arounds to serve some yaml files
  15. <Files *.yml>
  16. Order allow,deny
  17. Deny from all
  18. </Files>
  19.  
  20. ErrorDocument 404 /assets/error-404.html
  21. ErrorDocument 500 /assets/error-500.html
  22.  
  23. <IfModule mod_rewrite.c>
  24. SetEnv HTTP_MOD_REWRITE On
  25. RewriteEngine On
  26. RewriteBase '/vauxhall'
  27.  
  28.  
  29. RewriteRule ^vendor(/|$) - [F,L,NC]
  30. RewriteRule silverstripe-cache(/|$) - [F,L,NC]
  31. RewriteRule composer\.(json|lock) - [F,L,NC]
  32.  
  33. RewriteCond %{REQUEST_URI} ^(.*)$
  34. RewriteCond %{REQUEST_FILENAME} !-f
  35. RewriteCond %{REQUEST_URI} !\.php$
  36. RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
  37. </IfModule>
  38. ### SILVERSTRIPE END ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement