incentro/darkroom-bot/master/app/.htaccess - Htaccess File

incentro/darkroom-bot/master/app/.htaccess

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} !^/index.html$
RewriteCond %{REQUEST_URI} !^/darkroom.bot.php$
RewriteCond %{REQUEST_URI}  !(asset) [NC]
RewriteRule ^(.*)$ /darkroom.bot.php?path=$1 [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_URI

Comments

Apache