1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

eURL news mod rewrite profile - work in progress

This commit is contained in:
secretr
2008-12-02 23:44:19 +00:00
parent 1eb6f7386c
commit 35d36f61c5
7 changed files with 74 additions and 25 deletions

View File

@@ -1,5 +1,18 @@
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
Options +FollowSymlinks
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]
#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