Created
April 19, 2010 21:27
-
-
Save ktopping/371658 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
# mod_rewrite preamble: | |
RewriteEngine On | |
RewriteBase /shop | |
# The following rule omits anything that actually really maps to a file or folder. | |
RewriteCond %{SCRIPT_FILENAME} !-f | |
RewriteCond %{SCRIPT_FILENAME} !-d | |
# Anything that's not the above, we route to index.php with the path in "readablePath" | |
RewriteRule (.*) index.php?readablePath=$1 [L,QSA] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment