Hi,
I am wondering if it is possible to set httpd configs on a per-domain basis.
Thanks![]()
Hi,
I am wondering if it is possible to set httpd configs on a per-domain basis.
Thanks![]()
Settings within a VirtualHost container will, if allowed there in the first place, work only for the relevant domain. Have a look at /usr/local/apache/conf/httpd.conf.
You can also do plenty with local .htaccess files.
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
It is. Change htaccess premission, owner and group.
http://www.crohoster.com/
quality hosting services and managed dedicated servers
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.
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:Originally Posted by MMarko
chattr +i WHATEVER_FILE
Andy Reed
RHCE and CCNA
ServerTune.com