Created
February 13, 2013 15:49
-
-
Save BluecadetInteractive/4945549 to your computer and use it in GitHub Desktop.
Rewrite rules to serve static content allowing other routes to be matched.
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} ^/path/to/page [NC] | |
RewriteRule ^(.*)$ /static/page.html [L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment