On Mon, 10 Jun 2002, Jesse Angell wrote: > I need to have a script open the file /www/conf/httpd.conf > <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. > How do I do this??
sed -e '/VirtualHost \*/,/\/VirtualHost/d' </www/conf/httpd.conf >/www/conf/httpd.conf ---------------------------------------------------------------------------- DDDD David Kramer [EMAIL PROTECTED] http://thekramers.net DK KD DKK D Isn't the universe an amazing place? DK KD I wouldn't live anywhere else. DDDD J'Kar _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list