summary refs log tree commit diff stats
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess10
1 files changed, 10 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..b09d5dc --- /dev/null +++ b/.htaccess
@@ -0,0 +1,10 @@
1RewriteEngine On
2RewriteRule comic([0-9]+).htm /index.php?id=$1 [QSA,L]
3RewriteRule scripts/ / [R]
4RewriteRule config.php / [R]
5RewriteRule header.php / [R]
6RewriteRule footer.php / [R]
7RewriteCond %{REQUEST_FILENAME} !.png
8RewriteRule images/ / [R]
9RewriteCond %{REQUEST_FILENAME} .htm
10RewriteRule (.+).htm $1.php [QSA]