Mathieu, Thanks very much. The pages are now being served just as I wanted them to be. I really appreciate your very clear answer.
Thanks! Cheers, Mark On Sun, 2003-11-16 at 17:25, mathieu perrenoud wrote: > Check in the apache conf file for the DocumentRoot directive, that's the root > dir for apache's files. > > $ grep DocumentRoot /etc/apache2/conf/apache2.conf > DocumentRoot /var/www/localhost/htdocs > > You can either change this for what suits you or move your file there. I would > go for the second option. Add yourself to the apache group and chmod 2775 the > dir, so you can work in a more convenient way. > > I don't think you need virtual hosting, it's only if you want to serve > different pages depending on the server name in the HTTP directive and so you > need to have multiple domain names pointing at your box. > (or add them to /etc/hosts and access them in local). > > finally the docs from the apache's website can answer to all your question: > http://httpd.apache.org/docs-2.0/ > > hth > > > Hi, > > I've never done anything with Apache, but would like to get to know a > > bit more about how to configure it. It's emerged and operating. It > > serves up some sort of a default Apache page if I browse the machine > > from my network. > > > > For now I only need to handle a single domain. I have a few simple > > web pages and would like them to be the pages that Apache gives out. How > > can I do this? Can I replace the file Apache serves up by default, and > > if so, where is it? > > > > Probably better would be to have Apache go where I keep my web pages, > > so what config file manages that? The closest I found was a > > virtual-domains configuration directory, but no real instructions on how > > to turn it on. > > > > Most helpful would be a really simple Apache 101 site somewhere. I > > did a bunch of Googling, but everything is either for-pay training or > > not simple enough for me needs. > > > > Thanks in advance! > > > > Cheers, > > Mark > > > > > > -- > > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
