18 lines
574 B
ApacheConf
18 lines
574 B
ApacheConf
Options +FollowSymLinks -MultiViews
|
|
# Turn mod_rewrite on
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
|
|
RewriteRule ^$ index.php?page=view [NC,L]
|
|
|
|
RewriteRule ^\/?(_developer)\/([a-zA-Z0-9\.\_]*) _developer/$2 [NC]
|
|
|
|
RewriteRule ^\/?(_css\/)([a-zA-Z0-9_]+)\.css$ _css/$2.css [NC]
|
|
RewriteRule ^\/?(_ajax\/)([a-zA-Z0-9_]+)\.php$ _ajax/$2.php [NC,L]
|
|
|
|
RewriteCond %{REQUEST_URI} !^/ckeditor/?$
|
|
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] |