# mod_security can interfere with uploading of content such as attachments. If you # cannot attach files, remove the "#" from the lines below. #<ifmodule mod_security.c> # secfilterengine off # secfilterscanpost off #</ifmodule> errordocument 401 default errordocument 403 default errordocument 404 default errordocument 405 default errordocument 406 default errordocument 500 default errordocument 501 default errordocument 503 default <ifmodule mod_rewrite.c> rewriteengine on # if you are having problems with the rewrite rules, remove the "#" from the # line that begins "rewritebase" below. You will also have to change the path # of the rewrite to reflect the path to your xenforo installation. #rewritebase /xenforo rewritecond %{https_host} ^mx-blind\.com$ rewriterule ^(.*)$ "https\:\/\/www\.mx-blind\.com\/$1" [r=301,l] rewritecond %{request_filename} -f [or] rewritecond %{request_filename} -l [or] rewritecond %{request_filename} -d rewriterule ^.*$ - [nc,l] rewriterule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [nc,l] rewriterule ^.*$ index.php [nc,l] </ifmodule>