HEX
Server: CentOS WebPanel: Protected by Mod Security
System: Linux sites.annaiservers.com 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64
User: freeval (1012)
PHP: 8.1.10
Disabled: NONE
Upload Files
File: //var/softaculous/anchor/.htaccess
<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>