incubusbatanga/BGP-Policy-Generator/master/docroot/.htaccess - Htaccess File

incubusbatanga/BGP-Policy-Generator/master/docroot/.htaccess

#  DO NOT CHANGE THIS FILE
#  If you need to change this file, you are doing something wrong.

Options FollowSymlinks Multiviews

RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.(js|ico|txt|gif|jpg|png|css|php|xsl|xml|slax)
RewriteCond %{REQUEST_URI} !=/server-status
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ index.php?platform=$1&type=$2&$3=$4&id=$5
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ index.php?platform=$1&type=$2&$3=$4
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/?$ index.php?platform=$1&type=$2&id=$3
RewriteRule ^([^/]+)/([^/]+)/?$ index.php?platform=$1&type=$2

AcceptPathInfo On

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache