2008-12-03 20:57:22 +00:00
|
|
|
<IfModule mod_rewrite.c>
|
2008-12-02 23:44:19 +00:00
|
|
|
RewriteEngine On
|
|
|
|
|
|
|
|
### Set this to your e107 site root
|
|
|
|
RewriteBase /
|
|
|
|
|
|
|
|
### NEWS ###
|
|
|
|
RewriteRule ^news/?$ news.php
|
|
|
|
#item, default, cat actions
|
|
|
|
RewriteRule ^news/([a-z]+)-([0-9]+)-([0-9]+)(\.html)?$ news.php?$1.$2.$3 [L]
|
|
|
|
#extend, cat, list actions
|
2008-12-03 12:38:08 +00:00
|
|
|
RewriteRule ^news/([a-z]+)-([0-9]+)(\.html)?$ news.php?$1.$2 [L]
|
2008-12-03 20:57:22 +00:00
|
|
|
</IfModule>
|
2008-12-02 23:44:19 +00:00
|
|
|
|
|
|
|
#ErrorDocument 400 /error.php?400
|
|
|
|
#ErrorDocument 401 /error.php?401
|
|
|
|
#ErrorDocument 403 /error.php?403
|
|
|
|
#ErrorDocument 404 /error.php?404
|
|
|
|
#ErrorDocument 500 /error.php?500
|