Changes in httpd.conf

mmmm77

New member
Joined
Feb 12, 2008
Messages
2
In httpd.conf i have

# All the DirectAdmin vhosts
Include conf/extra/directadmin-vhosts.conf

in conf/extra/directadmin-vhosts.conf i have:

Include /usr/local/directadmin/data/users/admin/httpd.conf

in /usr/local/directadmin/data/users/admin/httpd.conf i have the definitions of virtual host. If i change any in this file from console DA rewrite my changes. How i can to change this file and DA don't rewrite my changes?
I want to make some changes in a virtual host as to use mod_rewrite.

Thx.
 
make your changes inside the included file, and then chattr it to immutable.

Jeff
 
make your changes inside the included file

in /usr/local/directadmin/data/users/admin/httpd.conf?

, and then chattr it to immutable.
How can I do it?

Thank you Jeff.
 
Code:
chattr +i /usr/local/directadmin/data/users/admin/httpd.conf
 
Back
Top