kennisnet/purl-proxy/master/.htaccess - Htaccess File

kennisnet/purl-proxy/master/.htaccess

RewriteEngine On

RewriteCond %{HTTP_HOST} !^$
RewriteCond %{REQUEST_URI} !^/index.php($|/.*$)
RewriteCond %{REQUEST_URI} !^/files($|/.*$)
RewriteRule ^(.*)/(.*) /index.php?namespace=$1&path_1=$2 [L]

RewriteCond %{HTTP_HOST} !^$
RewriteCond %{REQUEST_URI} !^/index.php($|/.*$)
RewriteCond %{REQUEST_URI} !^/files($|/.*$)
RewriteRule ^(.*) /index.php?namespace=$1

<Files ~ "config.php$">
  Order allow,deny
  Deny from all
</Files>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_URI

Comments

Apache