summary refs log tree commit diff stats
path: root/.htaccess
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2009-02-22 13:15:37 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2009-02-22 13:15:37 -0500
commiteee98526c48b9154cd9e9bc8bc3e07769e6a39ea (patch)
tree9d8d719a2ccea91de86435ccd985241ddb3fa0cb /.htaccess
parent653c7b3a488488d4b161a8fae41ada5851bf7685 (diff)
downloadpillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.tar.gz
pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.tar.bz2
pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.zip
Rewrote Pillowcase
NOTE: There is a new database schema now, so the database from the testing server has to be copied over to the production server, otherwise this code
will fail.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess7
1 files changed, 4 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess index b09d5dc..b79eae1 100644 --- a/.htaccess +++ b/.htaccess
@@ -1,10 +1,11 @@
1RewriteEngine On 1RewriteEngine On
2RewriteRule comic([0-9]+).htm /index.php?id=$1 [QSA,L] 2RewriteRule comic([0-9]+).htm /index.php?area=comic&id=$1 [QSA,L]
3RewriteRule scripts/ / [R] 3RewriteRule pages/ / [R]
4RewriteRule includes/ / [R]
4RewriteRule config.php / [R] 5RewriteRule config.php / [R]
5RewriteRule header.php / [R] 6RewriteRule header.php / [R]
6RewriteRule footer.php / [R] 7RewriteRule footer.php / [R]
7RewriteCond %{REQUEST_FILENAME} !.png 8RewriteCond %{REQUEST_FILENAME} !.png
8RewriteRule images/ / [R] 9RewriteRule images/ / [R]
9RewriteCond %{REQUEST_FILENAME} .htm 10RewriteCond %{REQUEST_FILENAME} .htm
10RewriteRule (.+).htm $1.php [QSA] 11RewriteRule (.+).htm /index.php?area=$1 [QSA,L]