|
Server : Apache System : Linux vps-1289444.devslamantis.cl 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64 User : vspt ( 1013) PHP Version : 7.4.33 Disable Function : NONE Directory : /var/softaculous/anchor/ |
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase [[_relativeurl]]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule ^(.*)$ index.php?/$1 [L]
#Rewrite anchor directories to index.php/URL even though they exist.
#Don't rewrite files so that we can still load CSS, etc (except .log files).
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_URI} !\.log$
RewriteRule .* - [S=5]
RewriteRule ^(system(?:$|\/.*$)) index.php?/$1 [L]
RewriteRule ^(anchor(?:$|\/.*$)) index.php?/$1 [L]
RewriteRule ^(content(?:$|\/.*$)) index.php?/$1 [L]
RewriteRule ^(themes(?:$|\/.*$)) index.php?/$1 [L]
RewriteRule ^(vendor(?:$|\/.*$)) index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 index.php
</IfModule>