Htaccess File

landasystems/tamanharapan/master/frontend/web/tamanharapan/.htaccess

HTTP_HOST, REQUEST_FILENAME
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
Exit mobile version