PunktSonstNichts/CMS/master/.htaccess - Htaccess File

PunktSonstNichts/CMS/master/.htaccess

RewriteEngine On

# If a resource exists, serve it

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

# Otherwise, redirect to index file

RewriteRule ^([^/]*)$ /CMS/index.php?site=$1 [L]
RewriteRule ^([^/]*)/([^/]*)$ /CMS/index.php?site=$1&get=$2 [L]
RewriteRule ^([^/]*)/([^/]*)/([^/]*)$ /CMS/index.php?site=$1&get=$2&mode=$3 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache