Siroro

Member
Jul 5, 2006
7
0
151
Hi,
I am wondering if it is possible to set httpd configs on a per-domain basis.

Thanks :)
 

Siroro

Member
Jul 5, 2006
7
0
151
Hello, thanks, I was wondering if it was possible to make the user unable to modify .htaccess and/or other files placed in their directory.
Thanks
 

sleddog

Active Member
Jun 13, 2004
44
0
156
Labrador, Canada
I don't think so. If you place a file with permissions 600 and ownership root:root in a user's home directory, that user will still be able to edit or delete the file.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
MMarko said:
It is. Change htaccess premission, owner and group.
I am sorry, MMarko, but sleddog is right. Your can delete a file even if you chagne its permission and ownership. The best way around this issue is to SSH as root/su and:
chattr +i WHATEVER_FILE