I'm trying to use a FUEL ENV with the following .htaccess in the apache it runs smoothly when using litespeed it returns me 500 error and can not run the site.
Does anyone have any suggestions on how to solve the problem?
The site is within a folder called "novo"
my .htaccess
Does anyone have any suggestions on how to solve the problem?
The site is within a folder called "novo"
my .htaccess
Code:
#SetEnv FUEL_ENV production
<IfModule mod_rewrite.c>
# <IfModule mod_negotiation.c>
# Options -MultiViews
# </IfModule>
RewriteEngine On
RewriteBase /
# Redirect root requests
RewriteCond %{REQUEST_URI} ^/novo/$
RewriteRule !^/ /novo/public/%{REQUEST_URI} [L]
# Redirect API requests
RewriteCond %{REQUEST_URI} ^/novo/cms/(.*)$
RewriteRule ^cms/(.*)$ /novo/cms/public/%{REQUEST_URI} [L]
# html5 pushstate (history) support
RewriteRule img/(.*)$ /novo/public/assets/imgs/$1 [L,QSA]
RewriteRule photos/(.*)$ /novo/cms/public/files/$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /novo/public/#/$1 [L]
</IfModule>