enoa7/petarung2/master/app/template/.htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?petarungindonesia.com$
RewriteCond %{REQUEST_URI} !^/public/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /public/$1
RewriteCond %{HTTP_HOST} ^(www.)?petarungindonesia.com$
RewriteRule ^(/)?$ public/index.php [L]
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*.php$ %{REQUEST_FILENAME}.php [QSA,L]
Files
