SHARE
TWEET

Untitled

a guest Jul 8th, 2016 28 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. ErrorDocument 401 default
  9. ErrorDocument 403 default
  10. ErrorDocument 404 default
  11. ErrorDocument 405 default
  12. ErrorDocument 406 default
  13. ErrorDocument 500 default
  14. ErrorDocument 501 default
  15. ErrorDocument 503 default
  16.  
  17. RewriteEngine On
  18. RewriteCond %{SERVER_PORT} 80
  19. RewriteBase /
  20.  
  21. <IfModule mod_rewrite.c>
  22.     RewriteEngine On
  23.  
  24.     #   If you are having problems with the rewrite rules, remove the "#" from the
  25.     #   line that begins "RewriteBase" below. You will also have to change the path
  26.     #   of the rewrite to reflect the path to your XenForo installation.
  27.     #RewriteBase /xenforo
  28.  
  29.     #   This line may be needed to enable WebDAV editing with PHP as a CGI.
  30.     #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  31.  
  32.     RewriteCond %{REQUEST_FILENAME} -f [OR]
  33.     RewriteCond %{REQUEST_FILENAME} -l [OR]
  34.     RewriteCond %{REQUEST_FILENAME} -d
  35.     RewriteRule ^.*$ - [NC,L]
  36.     RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
  37.     RewriteRule ^.*$ index.php [NC,L]
  38. </IfModule>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top