sook/drumon_framework/master/your_app_name/.htaccess - Htaccess File

sook/drumon_framework/master/your_app_name/.htaccess

# Set host for production enviroment
#SetEnvIf Host "^(www.)?yourdomain.com" ENVIRONMENT=production

# Turn on URL rewriting
RewriteEngine On

# Protect hidden files from being viewed
<Files .*>
  Order Deny,Allow
  Deny From All
</Files>

# Protect application and system files from being viewed
RewriteRule ^(?:app|config|plugins)b.* index.php/$0 [L]

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule .* index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

On Github License

Files

Download PDF of Htaccess file
ENV, REQUEST_FILENAME

Comments

Apache