jc21/snippets-site/master/frontend/web/.htaccess - Htaccess File

jc21/snippets-site/master/frontend/web/.htaccess

php_flag expose_php Off
php_flag error_reporting On
php_flag short_open_tag Off
php_flag zlib.output_compression On
php_value session.name JC21PHOTOS
php_flag session.use_only_cookies On
DirectoryIndex index.html index.php
Options -Indexes

RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache