Htaccess File

loveorigami/lo-cms/master/web/.htaccess

REQUEST_FILENAME, REQUEST_URI
AddDefaultCharset utf-8

#AddHandler application/x-httpd-php5 .php
Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php

RewriteEngine on
RewriteBase /

RewriteCond $1 !^(index.php|assets|uploads|themes|robots.txt)
RewriteCond %{REQUEST_URI} !.(css|js|jpg|gif)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

#RewriteRule ^(.*)$ /index.php?/$1 [L,QSA]
#RewriteRule /_admin(.*)$ /_admin/index.php?/$1 [L,QSA]

RewriteRule . index.php
Exit mobile version