Files
librenms-librenms/html/.htaccess
Adam Amstrong 75f4bac3a2 Updates
git-svn-id: http://www.observium.org/svn/observer/trunk@125 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-09 17:39:14 +00:00

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