CyberPanel Community

.htaccess is not working

ph
phuongdzu #1

Hello
I use Yetishare script. It works with Apache but is not working with Open Litespeed, it show 404 File Not Found
This is htaccess content:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?_page_url=$1 [QSA]

Please help
Thanks

3 replies
Cy
CyberPanel #2

Restart OpenLiteSpeed from services page.

jo
jobayer #3

Everytime you change htaccess you have to either restart openlitespeed service or put them on htaccess editor then save them. It will refresh your htaccess changes. I recommend you to use default htaccess editor which is given inside panel.

ph
phuongdzu #4

Type your comment> @CyberPanel said:

Restart OpenLiteSpeed from services page.

Thanks, I forgot this step.
It is woring now

Sign in to reply