From 24503e3abe705acde2df159aeae61be0d009f92e Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 19 Nov 2008 17:27:03 -0500 Subject: Imported sources --- .htaccess | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .htaccess (limited to '.htaccess') diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..8738a13 --- /dev/null +++ b/.htaccess @@ -0,0 +1,37 @@ +RewriteEngine On + +RewriteRule ^blog/$ /index.php?area=blog [QSA,L] +RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L] +RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L] +RewriteRule ^blog/(.+)/ /index.php?area=blog&post=$1 [QSA,L] + +RewriteRule ^comments/(.+)/ /index.php?area=comment&id=$1 [QSA,L] + +RewriteRule ^wiki/$ /wiki/Main_Page [QSA] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^wiki/(.+) /w/index.php?title=$1 [QSA,L] + +RewriteRule ^poll/$ /index.php?area=poll [QSA,L] +RewriteRule ^poll/(.+).php /index.php?area=poll&id=$1 [QSA,L] + +RewriteRule ^quotes/$ /index.php?area=quotes [QSA,L] +RewriteRule ^quotes/(.+).php /index.php?area=quotes&act=$1 [QSA,L] + +RewriteRule ^admin/$ /index.php?area=admin [QSA,L] +RewriteRule ^admin/(.+).php /index.php?area=admin&page=$1 [QSA,L] + +RewriteRule ^error/$ /index.php?area=error [QSA,L] +RewriteRule ^error/(.+).php /index.php?area=error&id=$1 [QSA,L] + +RewriteRule ^projects/ - [L] + +RewriteRule ^comic/$ /index.php?area=comic [QSA,L] +RewriteRule ^comic/(.+)/ /index.php?area=comic&comic=$1 [QSA,L] + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.+).php /index.php?area=$1 [QSA,L] + +RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] +RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC] -- cgit 1.4.1