diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2008-11-19 17:27:03 -0500 |
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2008-11-19 17:27:03 -0500 |
| commit | 24503e3abe705acde2df159aeae61be0d009f92e (patch) | |
| tree | 8debbd53dcd0db2f5934c5e2af4e697e3787781d /.htaccess | |
| download | fourisland-24503e3abe705acde2df159aeae61be0d009f92e.tar.gz fourisland-24503e3abe705acde2df159aeae61be0d009f92e.tar.bz2 fourisland-24503e3abe705acde2df159aeae61be0d009f92e.zip | |
Imported sources
Diffstat (limited to '.htaccess')
| -rw-r--r-- | .htaccess | 37 |
1 files changed, 37 insertions, 0 deletions
| diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..8738a13 --- /dev/null +++ b/.htaccess | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | RewriteEngine On | ||
| 2 | |||
| 3 | RewriteRule ^blog/$ /index.php?area=blog [QSA,L] | ||
| 4 | RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L] | ||
| 5 | RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L] | ||
| 6 | RewriteRule ^blog/(.+)/ /index.php?area=blog&post=$1 [QSA,L] | ||
| 7 | |||
| 8 | RewriteRule ^comments/(.+)/ /index.php?area=comment&id=$1 [QSA,L] | ||
| 9 | |||
| 10 | RewriteRule ^wiki/$ /wiki/Main_Page [QSA] | ||
| 11 | RewriteCond %{REQUEST_FILENAME} !-f | ||
| 12 | RewriteCond %{REQUEST_FILENAME} !-d | ||
| 13 | RewriteRule ^wiki/(.+) /w/index.php?title=$1 [QSA,L] | ||
| 14 | |||
| 15 | RewriteRule ^poll/$ /index.php?area=poll [QSA,L] | ||
| 16 | RewriteRule ^poll/(.+).php /index.php?area=poll&id=$1 [QSA,L] | ||
| 17 | |||
| 18 | RewriteRule ^quotes/$ /index.php?area=quotes [QSA,L] | ||
| 19 | RewriteRule ^quotes/(.+).php /index.php?area=quotes&act=$1 [QSA,L] | ||
| 20 | |||
| 21 | RewriteRule ^admin/$ /index.php?area=admin [QSA,L] | ||
| 22 | RewriteRule ^admin/(.+).php /index.php?area=admin&page=$1 [QSA,L] | ||
| 23 | |||
| 24 | RewriteRule ^error/$ /index.php?area=error [QSA,L] | ||
| 25 | RewriteRule ^error/(.+).php /index.php?area=error&id=$1 [QSA,L] | ||
| 26 | |||
| 27 | RewriteRule ^projects/ - [L] | ||
| 28 | |||
| 29 | RewriteRule ^comic/$ /index.php?area=comic [QSA,L] | ||
| 30 | RewriteRule ^comic/(.+)/ /index.php?area=comic&comic=$1 [QSA,L] | ||
| 31 | |||
| 32 | RewriteCond %{REQUEST_FILENAME} !-f | ||
| 33 | RewriteCond %{REQUEST_FILENAME} !-d | ||
| 34 | RewriteRule ^(.+).php /index.php?area=$1 [QSA,L] | ||
| 35 | |||
| 36 | RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] | ||
| 37 | RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC] | ||
