I´m trying to make OpenLiteSpeed read my .htaccess file. I tried many things like enable rewrite in the config file and point it to the actual htaccess file
rewrite {
enable 1
rules <<<END_rules
rewriteFile /usr/local/lsws/Example/html/.htaccess
END_rules
logLevel 0
}
But it doesn´t work.
I tried the trick to comment these 2 lines in the OLS config file
include /www/server/panel/vhost/openlitespeed/*.conf
include /www/server/panel/vhost/openlitespeed/listen/*.conf
Of course that enables the write mode, but my sites automatically stop working. Remove the "#" and everything works again.
BTW that "example" virtual host is the default one, should I create another one?
Any clues what could I be doing wrong?
Thanks in advance.