Hi, I have this .htaccess rules in my php script, but its not working. Its used to work in appache server. but its not in openlitespeed. My cyberpanel version is 1.8.
Options -MultiViews -Indexes
RewriteEngine On
Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Redirect Trailing Slashes If Not A Folder…
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
Handle Front Controller…
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Someone help me out. Its always giving 404 error. see here at https://adkit.in