LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Daniel Callan <dcallan@dataline.net.au>
  To  : linuxsa@linuxsa.org.au
  Date: Tue, 17 Nov 1998 16:30:47 +1000

Re: Config Probs, Apache and DNS

At 16:05 17/11/98 +1030, you wrote:
>On Tue, 17 Nov 1998, Darryl Ross wrote:
>I forgot to mention that the DNS problem goes away when you combine all
>the config files into the one httpd.conf and remove the other conf files
>from the directory. 

You don't mean turfing the srm.conf and access.conf do you???
I wouldn't have thought it would run without them.
(I'm happy to be corrected though ;-)

>There are a few other changes with this version of Apache - it's well
>worth checking up on what it can do from the apache site.  
>

Yeah, I've found it much simpler to make Apache 1.3 ignore the 
whole "shared" and "etc" sections and just run virtualhosting as 
it was done in Apache 1.2 (ie: entries in the main httpd.conf and 
specifying the dir location/structure manually in those entries)

eg: (from bottom of /usr/local/apache/conf/httpd.conf)

<VirtualHost www.mydomain.com.au>
ServerAdmin hostmaster@mydomain.com.au
DocumentRoot /usr/local/virtualhosts/mydomain.com.au/htdocs
ServerName www.mydomain.com.au
ScriptAlias /cgi-bin/ /usr/local/virtualhosts/mydomain.com.au/cgi-bin/
ErrorLog /usr/local/virtualhosts/mydomain.com.au/logs/error_log
TransferLog /usr/local/virtualhosts/mydomain.com.au/logs/access_log
</VirtualHost>

As I said in earlier post, I have the server IP-aliasing a different IP for
each virtual host. (but I'm now curious as to whether it is required or not)

-Daniel


         Daniel Callan
        Network Manager

     hostmaster@dataline.net.au
      -- DataLine.net.au --
     http://dataline.net.au 

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page