RE: Apache Virtual Hosting


Subject: RE: Apache Virtual Hosting
From: Arthur Corliss (arthur@corlissfamily.org)
Date: Tue Apr 23 2002 - 20:34:43 AKDT


> Ok -- once I fixed my terminology thinking -- I was able to search
> and found that the httpd.conf file has to include all the default
> document types
> (under the virtual host entry)
ie: ...............................................
> # Virtual host Default Virtual Host
> <VirtualHost _default_:*>
> DocumentRoot /var/www/html
> ServerName _default_
> --> DirectoryIndex index.php default.asp default.htm default.html
> index.html index.htm index.shtml
> LogLevel debug
> </VirtualHost>
> ...............................................
>
> I already had that line in there, but I had an extra '/' after the
> DocumentRoot setting.. That was screwing it up. Now all I have to
> do is go to the site www.mydomain.com/site2 and it will search for
> the default document types to open (so I don't have to specify
> www.mydomain.com/site2/default.htm) <-- pain in the rear
>
> Cheers

Okay, I'm with you, now. I didn't even realise that that was what you were
after. <G> Good thing you figured it out without us, eh? ;-)

--

--Arthur Corliss Bolverk's Lair -- http://arthur.corlissfamily.org/ Digital Mages -- http://www.digitalmages.com/ "Live Free or Die, the Only Way to Live" -- NH State Motto

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Wed Apr 24 2002 - 14:29:35 AKDT