From owner-freebsd-questions Mon Feb 19 10:59:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.magpage.com (trinity.magpage.com [216.155.0.8]) by hub.freebsd.org (Postfix) with ESMTP id 8465837B67D for ; Mon, 19 Feb 2001 10:59:44 -0800 (PST) Received: from magpage.com (dfrazier@poomba.magpage.com [216.155.24.136]) by trinity.magpage.com (8.11.1/8.11.1) with ESMTP id f1JIxhS20638; Mon, 19 Feb 2001 13:59:43 -0500 Message-ID: <3A916D1E.3245450E@magpage.com> Date: Mon, 19 Feb 2001 13:59:42 -0500 From: Daniel Frazier Organization: Magpage Internet Services X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: ben@cahostnet.net, questions@FreeBSD.ORG Subject: Re: virtual hosting References: <20010217161653.667722753@sitemail.everyone.net> <3A916721.C2A877EE@magpage.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG One other thing... if you're just not interested or don't have the time you may want to check out webmin. It's in the ports. -- ---------------------------------------------------------------------- Daniel Frazier Tel: 302-239-5900 Ext. 231 Systems Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. Daniel Frazier wrote: > > Benjamin, > > sorry for the delay in replying... > > Now I understand what you're looking for. My company uses something > like this for a multitude of tasks, including adding virt hosts. (IMHO > this is one of unix's greatest strengths, the ability to script just > about anything.) The only gotcha is that these scripts were developed > in house and are so customized that they aren't very portable. The > script we've made to add virt hosts does much more than just adding > the virt host entry in httpd.conf... it adds billing info to mysql, > creates a zone file for the domain, adds the domain to sendmail.cw, > etc. The fact that apache, mysql and sendmail are all running on > different servers goes to illustrate how customised these scripts have > to be. > > My suggestion is this: learn perl. Perl is a great first language > and is excellently suited to these kind of tasks. It won't take much > 'till you'd be able to write your own perl scripts to accomplish many > of your routine administrative jobs. There may be some scripts out > there that are somewhat portable that may fit your needs(if I run > across any I'll be sure to let you know), but trust me... in the long > run you'll be better off and a more capable sys admin if you learn > perl. > > -- > ---------------------------------------------------------------------- > Daniel Frazier Tel: 302-239-5900 Ext. 231 > Systems Administrator Fax: 302-239-3909 > MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ > > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety." > - Benjamin Franklin, Historical Review of Pennsylvania, 1759. > > Benjamin Ossei wrote: > > > > Setting up a vhost envolves several steps. Creating the directory, user, modifications to httpd.conf and permissions. I want to kinda automate this and was looking for something that will allow me to on a fly to create these vhosts. I found one link that was helpful and was wondering if anyone else had some ideas. I will rather not do this manually. > > > > Oh, I'm not a programmer even though I can make modifications to some. > > > > Thanks.... > > > > --- Daniel Frazier > > > wrote: > > >cgi scripts?? try http://httpd.apache.org/docs/howto/cgi.html > > >if you're looking for something else give me an example of what you > > >want to do... > > > > > >-- > > >---------------------------------------------------------------------- > > >Daniel Frazier Tel: 302-239-5900 Ext. 231 > > >Systems Administrator Fax: 302-239-3909 > > >MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ > > > > > >"They that can give up essential liberty to obtain a little temporary > > >safety deserve neither liberty nor safety." > > > - Benjamin Franklin, Historical Review of Pennsylvania, 1759. > > > > > >Ben wrote: > > >> > > >> Tried it but didn't find anything on scripts etc. I have an Apache > > >> book so I don't need how to's. I have it setup. In the real world > > >> there are always better ways of doing things and short cuts that you > > >> can't always find in books or even the manufactures site. > > >> > > >> ----- Original Message ----- > > >> From: "Daniel Frazier" > > >> To: "Ben" > > >> Cc: > > >> Sent: Friday, February 16, 2001 1:59 PM > > >> Subject: Re: virtual hosting > > >> > > >> > Ben wrote: > > >> > > > > >> > > Anyone knows of a good place (site) that I can find some good > > >> > > practices on using bsd or unix with Apache doing virtual hosting? > > >> > > Setting up multiple accounts, sites using scripts etc. Any > > >> > > information will be helpful. > > >> > > > > >> > > > >> > ummm, apache.org? > > >> > > > >> > -- > > >> > -------------------------------------------------------------------- > > >> -- > > >> > Daniel Frazier Tel: 302-239-5900 Ext. 231 > > >> > Systems Administrator Fax: 302-239-3909 > > >> > MAGPAGE, We Power the Internet WWW: > > >> http://www.magpage.com/ > > >> > > > >> > "They that can give up essential liberty to obtain a little > > >> temporary > > >> > safety deserve neither liberty nor safety." > > >> > - Benjamin Franklin, Historical Review of Pennsylvania, > > >> 1759. > > >> > > > > > _____________________________________________________________ > > ========GET YOUR FREE E-MAIL============ > > http://freemail.cahostnet.net > > Web Hosting http://www.cahostnet.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message