Skip to content

Instantly share code, notes, and snippets.

@RaymondBenc
Created May 27, 2015 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RaymondBenc/2e1cd156293183835318 to your computer and use it in GitHub Desktop.
Save RaymondBenc/2e1cd156293183835318 to your computer and use it in GitHub Desktop.
PHPfox v4 .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^static/ajax.php index.php
RewriteRule ^themes/default/(.*) PF.Base/theme/default/$1
RewriteRule ^(file|static|theme|module)/(.*) PF.Base/$1/$2
RewriteRule ^(apps|themes)/(.*) PF.Site/$1/$2
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php/$1
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment