How to Make .htaccess Available in OpenLiteSpeed

Asked 1 years ago, Updated 1 years ago, 49 views

Thank you for your help.
You are about to switch from Apache to OpenLiteSpeed.
For the time being, I have configured a virtual host and can now access it by domain name, but it seems that .htaccess is not loaded.
The .htaccess contains only the following lines specifying the error message:

ErrorDocument 404/404.html

Also, we have already verified that we can access other files.
Do I need any configuration to load .htaccess?
By the way, I tried "Yes" for both "Enable Rewrite" and "Auto Load from.htaccess" referring to How to use htaccess in OpenLiteSpeed.
Also, as mentioned on the above site, the Rewrite rule contains

<Document Route Path]/.htaccess

I also added it, but it didn't change.
The environment is Ubuntu 18.04, OpenLiteSpeed Ver.1.4.46.
Thank you for your cooperation.

.htaccess

2022-09-29 22:48

1 Answers

Thank you for your help.
I've been researching a lot since then, but OpenLiteSpeed seems to limit the operation of .htaccess.

https://www.litespeedtech.com/products/litespeed-web-server/editions

I think it will work if I use the Enterprise version, but for the time being, I will give up OpenLiteSpeed and use Apache.
Thank you.


2022-09-29 22:48

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.