Hello,
    I need to write a shell script to do the following
edit the /www/conf/httpd.conf file
and search for the
<VirtualHost *>
DocumentRoot /var/www/virtual/$user/html
Servername $user.palaceunlimited.com
ErrorLog /var/www/virtual/$user/logs/error_log
CustomLog /var/www/virtual/$user/logs/access_log combined
</VirtualHost>
and then delete all of that for the specified user varible..
So it looks for the user specified.. then deletes all of the users virtual host stuff including the start of the virtual host and the closing of it..
Please help me out...
 
 
--------------
Jesse Angell
PalaceUnlimited.com
#1 Palace Host

Reply via email to