htaccess

I’m having trouble working with multiple htaccess files, OPENLITESPEED does not recognize

/home/exemple.com/public_hmtml/.htaccess

RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]

/home/exemple.com/public_hmtml/public/.htaccess


Options -MultiViews

RewriteEngine On

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

Hello / Help

@julianodls

Some directives are not supported by OpenLiteSpeed, read more here → https://cyberpanel.net/2018/09/10/openlitespeed-v1-4-38-has-been-released/