mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
75f4bac3a2
git-svn-id: http://www.observium.org/svn/observer/trunk@125 61d68cd4-352d-0410-923a-c4978735b2b8
16 lines
397 B
ApacheConf
16 lines
397 B
ApacheConf
Options FollowSymlinks Multiviews
|
|
|
|
RewriteBase /
|
|
RewriteEngine on
|
|
RewriteCond %{REQUEST_URI} !^(.*)\.php$
|
|
RewriteCond %{REQUEST_URI} !^(.*)\.css$
|
|
RewriteCond %{REQUEST_URI} !^(.*)\.jpg$
|
|
RewriteCond %{REQUEST_URI} !^(.*)\.gif$
|
|
RewriteCond %{REQUEST_URI} !^(.*)\.png$
|
|
|
|
RewriteRule ^([a-z]+)$ ?page=$1
|
|
|
|
RewriteRule ^bills/([0-9]+) ?page=bills&bill=$1
|
|
RewriteRule ^device/([0-9]+) ?page=device&id=$1
|
|
|