Short URL Rewrite Rules for FastCGI Servers Updated

If you are upgrading from v3 and run phpFox on the FastCGI protocol you may have run into problems when enabling Short URLs. While, this issue has been resolved with our next release (phpFox v4.0.6), for those that already have v4 up-and-running you will need to manually modify your sites .htaccess file to have Rewrite Rules for FastCGI Servers as the following guide.


To do this, access your web server and open your .htaccess file found in the root directory of your phpFox site.


Look for…

RewriteRule ^(file|static|theme|module)/(.*) PF.Base/$1/$2


Replace that line with…

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(file)/(.*) PF.Base/$1/$2
RewriteRule ^(static|theme|module)/(.*) PF.Base/$1/$2