14 lines
358 B
ApacheConf
14 lines
358 B
ApacheConf
Options +FollowSymLinks -MultiViews
|
|
# Turn mod_rewrite on
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
|
|
|
|
RewriteRule ^\/?(_ajax\/)([a-zA-Z0-9_]+)\.php$ _ajax/$2.php [NC,L]
|
|
|
|
|
|
RewriteRule ^([a-z_]+)\/?([0-9a-z_]*)\/?([0-9a-z]*)$ index.php?page=$1&subpage=$2&id=$3 [NC,L]
|
|
|
|
|
|
|
|
# RewriteRule ^\/?([a-z_]+)\/?([0-9a-z_\.\?\&\=]*)\/?(.*)$ index.php?page=$1&subpage=$2&id=$3 [NC,L] |