Changes to .htaccess file concerns

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello,

I have a cPanel&WHM version 78.0.20 . I have noticed in home directory of one my user in command line file .htaccess which has changed but there is no logs /usr/local/cpanel/logs/access log that that user was not connected at this time.

upload_2019-4-17_15-54-0.png

Also on other user on cPanel I have noticed same date i time when .htaccess has changed.

upload_2019-4-17_15-55-56.png

Which causes the change of time .htaccess file?


I suspect that there was malicious intrusions... Please, could you a
 

thowden

Member
May 17, 2013
19
2
3
cPanel Access Level
Root Administrator
Hi

The .htaccess file is edited by the scripts for controlling apache and php settings in EasyApache.

Depending on which scripts were run then yes, the file may have been edited by the update you installed.

I had run updates on my servers this morning, and from what see none of the .htaccess files were changed.

What is the content of the .htaccess file that you think might be compromised ?
 

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello,

The content of .htaccess file is normal, it seeems to be ok. I have noticed in backup before one month ago that that file was the same. Probably, everything is ok.


Thank you very much!

BR,
Elizabeta
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter