httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Kruger" <aliena...@spils.com>
Subject Re: Virtual Host Directives
Date Thu, 25 Jul 2002 08:30:03 GMT
Is there now way in which i can specify say the ip plus the hostmane.
Coz i'm going to have more than one hostname on that specific IP addie.
  ----- Original Message ----- 
  From: Albrecht Marcus 
  To: 'users@httpd.apache.org' 
  Sent: Thursday, July 25, 2002 10:25 AM
  Subject: AW: Virtual Host Directives


  Hi,

  you have to use the IP from the NameVirtualHost:

  <VirtualHost 66.8.58.134:80>
    ServerAdmin hostmaster@abc.com
    DocumentRoot /home/nomza/abc
    ServerName abc.com
    ErrorLog /home/nomza/abc/error.log
    CustomLog /home/nomza/abcl/access.log common
  </VirtualHost>

  Marcus

    -----Ursprüngliche Nachricht-----
    Von: Vincent Kruger [mailto:alienator@spils.com]
    Gesendet: Donnerstag, 25. Juli 2002 10:02
    An: Apache MailingList
    Betreff: Virtual Host Directives


    Hi.

    I've setup on my server this.

    include /usr/local/conf/aliases.inc
    include /usr/local/conf/directories.inc
    include /usr/local/conf/virtualhosts.inc
    include /home/nomza/apache.virtualhosts.inc
    NameVirtualHost 66.8.58.134

    Now I've place in the file /home/nomza/apache.virtualhosts.inc this.

    <VirtualHost abc.com:80>
      ServerAdmin hostmaster@abc.com
      DocumentRoot /home/nomza/abc
      ServerName abc.com
      ErrorLog /home/nomza/abc/error.log
      CustomLog /home/nomza/abcl/access.log common
    </VirtualHost>

    What is wrong?
    When ever i call abc.com it can't find the server.

    Regards
    Vincent Kruger
    alienator@spils.com

  ---------------------------------------------------------------------------- 

  Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Inhalte haben. Bitte
löschen Sie die E-Mail und benachrichtigen Sie uns sofort, wenn Sie nicht der bestimmungsgemäße
Empfänger sind. Die SYCOR AG willigt in keine Verträge oder vertragliche Verpflichtungen
ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden,
sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.


  This e-mail is confidential and may contain personal and/or priviledged material. Please
delete this e-mail and inform us immediately in case you are not the directed recipient. SYCOR
AG does not agree with contracts or contract obligations. Neither do we transmit legally binding
offers by e-mail unless this has been expressly agreed upon between the parties and documented
in written form.


Mime
View raw message