Community

ERROR 9042: .htaccess file not writable

kh
khongngu #1

After I upgraded to the new version (1.9.1), I often get the error message “ERROR 9042: .htaccess file not writable.”


I used the “Fix Permissions” feature in the filemanager but not overcome.

Cy
CyberPanel #2

what is output of ls -la /home/domain.com/public_html/.htaccess

kh
khongngu #3
what is output of `ls -la /home/domain.com/public_html/.htaccess`

-rw-r–r–
And, there are websites that have been working for a long time, but today an error occurred

Cy
CyberPanel #4

And who is owner of this file ?

kh
khongngu #5
And who is owner of this file ?

-rw-r–r-- 1 xaydung xaydung 1855 Oct 30 17:22 .htaccess

Cy
CyberPanel #6

Can you edit rewrite rules from website lanucher in CyberPanel?

kh
khongngu #7
Can you edit rewrite rules from website lanucher in CyberPanel?
Yes, I can!
kh
khongngu #8

.

Cy
CyberPanel #9

Possible bug in OpenLiteSpeed, will get back to you

Cy
CyberPanel #10

Can you create php file and see result

<?php

system(whoami);

?>

Sign in to reply