griasolutions/gria-ci/master/example.htaccess - Htaccess File

griasolutions/gria-ci/master/example.htaccess

# Deny access to sensitive files & directories
<Files "^(bin|config|tests|vendor|src/bootstrap.php|src/application|src/library|src/rulesets)$">
  Order Deny,Allow
  Deny from all
</Files>

# Set the environment variable
SetEnv APPLICATION_ENV "production"

# If the request is not for an existing file or directory, route it to the
# index.php file in the public directory
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ src/public/index.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
ENV, REQUEST_FILENAME

Comments

Apache