httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Miller" <>
Subject Re: [users@httpd] Beginner Virtual Host question
Date Tue, 18 Mar 2003 04:17:59 GMT
Here's a copy of mine - hope it helps

NameVirtualHost 111.222.333.444  <- one of these per IP on the server if more than one

<VirtualHost 111.222.333.444>
DocumentRoot /home/domains/

If you want log files per domain, or want to include SSI, then do it like this:

<VirtualHost 111.222.333.444>
DocumentRoot /home/domains/
ScriptAlias /cgi-bin/ /home/domains/
  # Allow Server-Side Includes
  <Directory /home/domains/>
    AddHandler  server-parsed shtml html htm
    Options     +Includes
CustomLog /home/domains/ combined
ErrorLog /home/domains/
  ----- Original Message ----- 
  From: Sparky Kopetzky 
  Sent: Monday, March 17, 2003 8:55 PM
  Subject: [users@httpd] Beginner Virtual Host question


  I have just recently established a new ISP and am running Apache 2.?? and RedHat 8.0. I
develop software and other such items for the web and want to create a virtual host to develop
from. I started with this:

  <Virtual Host *>
     ServerName development
     DocumentRoot /httpd/development

  Apache threw a fit with an error stating the mixing *-ports and non *-ports was a no-no.

  What did I do wrong and is there a simple solution?? I really would like to know.

  Robin Kopetzky
  Black Mesa Internet Services

  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (
  Version: 6.0.462 / Virus Database: 261 - Release Date: 3/13/2003
View raw message