13 lines
308 B
ApacheConf
13 lines
308 B
ApacheConf
# CI4 rewrite rules
|
|
<IfModule mod_rewrite.c>
|
|
Options -Indexes
|
|
RewriteEngine On
|
|
|
|
# Allow all assets (css, js, images)
|
|
RewriteRule ^assets/(.*)$ - [L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^(.*)$ index.php/$1 [L]
|
|
</IfModule>
|