mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
19 lines
516 B
Plaintext
19 lines
516 B
Plaintext
<IfModule mod_rewrite.c>
|
|
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
|
|
RewriteRule ^news/([a-z]+)-([0-9]+)(\.html)?$ news.php?$1.$2 [L]
|
|
</IfModule>
|
|
|
|
#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 |