Blog

Short URL Rewrite Rules for FastCGI Servers Updated

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

To do this, access your web server and open your .htaccessfile found in the root directory of your PHPfox site.

Look for…

[sourcecode language=”bash”]
RewriteRule ^(file|static|theme|module)/(.*) PF.Base/$1/$2
[/sourcecode]

Replace that line with…

[sourcecode language=”bash”]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(file)/(.*) PF.Base/$1/$2
RewriteRule ^(static|theme|module)/(.*) PF.Base/$1/$2
[/sourcecode]

Fox