anony372929
Member
Hey guys. Normally I don't have issues at all enabling mod_rewrite in Apache on my CentOS server, but this time I just can't seem to get it to work. I am trying to enable it for my newly purchased Xenforo license. 
Here's my .htaccess in /var/www/html
	
	
	
		
and here is my apache conf.d file in /etc/httpd/conf/httpd.conf
http://pastebin.com/998PDW98
(Used pastebin because it'd take up too much space in here, haha)
				
			Here's my .htaccess in /var/www/html
		HTML:
	
	 #    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 mumausprison.com/
    #    This line may be needed to enable WebDAV editing with PHP as a CGI.
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    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>and here is my apache conf.d file in /etc/httpd/conf/httpd.conf
http://pastebin.com/998PDW98
(Used pastebin because it'd take up too much space in here, haha)
 
 
		 
 
		 
 
		