Advertisement
Guest User

Untitled

a guest
Sep 6th, 2013
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. # Mod_security can interfere with uploading of content such as attachments. If you
  2. # cannot attach files, remove the "#" from the lines below.
  3. #<IfModule mod_security.c>
  4. # SecFilterEngine Off
  5. # SecFilterScanPOST Off
  6. #</IfModule>
  7.  
  8.  
  9. ErrorDocument 401 default
  10. ErrorDocument 403 default
  11. ErrorDocument 404 default
  12. ErrorDocument 500 default
  13.  
  14. <IfModule mod_rewrite.c>
  15. RewriteEngine On
  16.  
  17. # Redirect non-www urls to www
  18. RewriteCond %{HTTP_HOST} !^www\.fffsquad\.com
  19. RewriteRule (.*) http://www.fffsquad.com/$1 [R=301,L]
  20.  
  21.  
  22. # If you are having problems with the rewrite rules, remove the "#" from the
  23. # line that begins "RewriteBase" below. You will also have to change the path
  24. # of the rewrite to reflect the path to your XenForo installation.
  25. #RewriteBase /xenforo
  26.  
  27. # This line may be needed to enable WebDAV editing with PHP as a CGI.
  28. #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  29.  
  30. RewriteCond %{REQUEST_FILENAME} -f [OR]
  31. RewriteCond %{REQUEST_FILENAME} -l [OR]
  32. RewriteCond %{REQUEST_FILENAME} -d
  33. RewriteRule ^.*$ - [NC,L]
  34. RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
  35. RewriteRule ^.*$ index.php [NC,L]
  36. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement