rwinslow/cogs/master/.htaccess - Htaccess File

rwinslow/cogs/master/.htaccess

RewriteEngine On
RewriteBase /

# Remove access to system folder
RewriteCond %{REQUEST_URI} ^core.*
RewriteRule ^(.*)$ /index.php?uri=$1 [L]

# Allow user to download valid files, otherwise send to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?uri=$1 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache