Created
May 14, 2012 06:05
-
-
Save ynh-zz/2692082 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change .htaccess to : | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteRule ^$ /hd/simple-cms/app/webroot/ [L] | |
RewriteRule (.*) /hd/simple-cms/app/webroot/$1 [L] | |
</IfModule> | |
Change app/webroot/.htaccess to : | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ /hd/simple-cms/app/webroot/index.php?url=$1 [QSA,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment