That doesnt look right..
 There are many users. I want to delete just that one users
----- Original Message -----
From: "David Kramer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 8:42 PM
Subject: Re: [REDHAT] Shell Scripting


> 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
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to