source: trunk/.htaccess @ 1798

Revision 1798, 864 bytes checked in by driehle, 3 years ago (diff)

Moved Jlog 1.5 branch into trunk/ as we will focus on Jlog 1.5 development in the future

  • Property svn:keywords set to Date Rev Author HeadURL
Line 
1<IfModule mod_rewrite.c>
2  RewriteEngine On
3
4  # catches all cathegories
5  RewriteCond %{REQUEST_FILENAME} !-f
6  RewriteCond %{REQUEST_FILENAME} !-d
7  RewriteRule "^cat/([a-z0-9_\-\.,]+)/?([0-9]{0,4})/?$" archive.php?cat=$1&y=$2 [QSA]
8
9  # catches all archive links, month and year
10  RewriteRule "^archive$" archive.php [QSA]
11  RewriteCond %{REQUEST_FILENAME} !-f
12  RewriteCond %{REQUEST_FILENAME} !-d
13  RewriteRule "^([0-9]{4})/?([0-9]{0,2})/?$" archive.php?y=$1&m=$2 [QSA]
14
15  # cathes all permalinks
16  RewriteCond %{REQUEST_FILENAME} !-f
17  RewriteCond %{REQUEST_FILENAME} !-d
18  RewriteRule "^([0-9]{4})/?([0-9]{2})/?([a-z0-9_\-\./,]+)$" log.php?y=$1&m=$2&url=$3 [QSA]
19
20  # catches all pages
21  RewriteCond %{REQUEST_FILENAME} !-f
22  RewriteCond %{REQUEST_FILENAME} !-d
23  RewriteRule "^([a-z0-9_\-\./,]+)$" page.php?url=$1 [QSA]
24</IfModule>
Note: See TracBrowser for help on using the repository browser.