Htaccess File

kennisnet/purl-proxy/master/.htaccess

HTTP_HOST, REQUEST_URI
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>
Exit mobile version