Created
January 7, 2016 19:38
-
-
Save msporleder/1bf264c3e5e8e3939586 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
Alias /foo /home/mspo/smallblog/public | |
RewriteEngine On | |
<Directory /home/mspo/smallblog/public> | |
Require all granted | |
Options Indexes FollowSymLinks | |
RewriteCond %{THE_REQUEST} "^[A-Za-z]+ /foo/(.+)(\?| )" | |
RewriteCond /home/mspo/smallblog/public/%1.html -f | |
RewriteRule (.+) %1.html [PT,L] | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment