Created
September 17, 2012 04:04
-
-
Save hrysd/3735476 to your computer and use it in GitHub Desktop.
This file contains 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
#/Users/hrysd/Sites/project/.htaccess | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteBase /~hrysd/project | |
RewriteRule ^$ app/webroot/ [L] | |
RewriteRule (.*) app/webroot/$1 [L] | |
</IfModule> |
This file contains 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
#/Users/hrysd/Sites/project/app/.htaccess | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteBase /~hrysd/project/app | |
RewriteRule ^$ webroot/ [L] | |
RewriteRule (.*) webroot/$1 [L] | |
</IfModule> |
This file contains 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
#/Users/hrysd/Sites/project/app/webroot/.htaccess | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase /~hrysd/project/app/webroot | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] | |
</IfModule> |
This file contains 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
# /etc/apache2/users/hrysd.conf | |
<Directory "/Users/hrysd/Sites/project/"> | |
Options Indexes MultiViews FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment