Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2001 13:55:54 -0500
From:      darren <backdoc@netdoor.com>
To:        "The Wizard" <millambar@hotmail.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Apache on FreeBSD
Message-ID:  <0108281355540C.25163@bigdaddy.crotchett.com>
In-Reply-To: <F77o6gLQdbAVUKPHfLJ00000818@hotmail.com>
References:  <F77o6gLQdbAVUKPHfLJ00000818@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm pretty much a newbie.  But, I've configured apache once or twice and more 
recently on FreeBSD.  So, somebody please correct me if I'm leading him in 
the wrong direction.

The first thing that I'd do if I were you would be to do a 
/usr/libexec/locate.updatedb.  Just type that in and press <enter>.  This 
will making finding the files you need a bit easier.  To find a file, just 
type locate <file>.  Read man locate.

Then, the main files that you will need should be httpd.conf and apachectl.  
The httpd.conf file is commented pretty well.  Go through it thoroughly.  It 
is the config file that states where files are stored, what file types you 
want to recognize, virtual hosting and general behavior of apache.  Whenever 
you finish making changes, you have to restart apache with /path/to/apachectl 
restart.  If apache is not running, do start instead of restart.  Type it in 
wrong and it will display the correct syntax.

There are lots of HOWTO's and tutorials that you can find on google.  But, 
this should get you thinking in the right direction.

Good luck,
Darren


On Tuesday 28 August 2001 08:27 am, The Wizard wrote:
> Hi.
> I am a MS convert trying to correct the error of my ways.
>
> I have a FreeBSD server that I inherited.
> I am trying to get it host a website.
> I know it has Apache installed, but I dont know what to do from there.
> currently the website is hosted under WinNT4 and IIS, but we really want it
> on this FreeBSD box.
>
> Is there anywhere that I can get an idiot-proof step by step guide on
> setting up a virtual host and copying these files to the right place on the
> FreeBSD box?
>
> Any help would be great.
>
> Thanks
> Stuart Kaptein(MCSE MCP+I)
> FreeBSD convert
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0108281355540C.25163>