iwansusanto/jurnalrumah/master/frontend/web/.htaccess - Htaccess File

iwansusanto/jurnalrumah/master/frontend/web/.htaccess

# use mod_rewrite for pretty URL support
RewriteEngine on

# aktifkan ini saat online, agar redirect dari non www ke www
# RewriteCond %{HTTP_HOST} !^www.
# RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

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

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache