cangsalak/Yii2-CMS/master/backend/web/.htaccess - Htaccess File

cangsalak/Yii2-CMS/master/backend/web/.htaccess

<IfModule mod_autoindex.c>
  Options -Indexes
</IfModule>

<IfModule mod_rewrite.c>
  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  
  
</IfModule>

<IfModule php5_module>
  php_value session.cookie_httponly true
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache