mirror of
https://github.com/minoplhy/crappy-jekyll.git
synced 2024-11-14 05:36:46 +00:00
12 lines
232 B
ApacheConf
12 lines
232 B
ApacheConf
RewriteEngine on
|
|
|
|
|
|
RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
|
|
RewriteRule ^ /%1 [NC,L,R]
|
|
|
|
RewriteCond %{REQUEST_FILENAME}.html -f
|
|
RewriteRule ^ %{REQUEST_URI}.html [NC,L]
|
|
|
|
ErrorDocument 404 /404.html
|
|
ErrorDocument 403 /404.html
|