landasystems/myplacemalang/master/.htaccess - Htaccess File

landasystems/myplacemalang/master/.htaccess

RewriteEngine on
php_value date.timezone "Asia/Jakarta"

#display error
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag  log_errors on

#redirect to www
#RewriteCond %{HTTP_HOST} !^www.
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

# 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
HTTP_HOST, REQUEST_FILENAME

Comments

Apache