Likes Likes:  0
Resultaten 1 tot 2 van de 2
Geen
  1. #1
    Pieter Van Isacker
    Apache configuratie met vhosts
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Apache configuratie met vhosts

    Hallo

    Ik heb hier apache2.0 draaien en nu zou ik willen een vhost laten
    draaien op poort 9090 dus als ik bv: localhost:9090 induw moet ik bij
    mijn website uitkomen en als ik gewoon localhost doe bij de gewone
    pagina. Dit is me ongeveer al gelukt maar het probleem is dat de gewone
    startpagina alleen maar naar poort 80 'luistert' en als ik apache
    herstart krijg ik deze error:
    [Tue Nov 11 12:43:25 2003] [warn] NameVirtualHost localhost:0 has no
    VirtualHosts

    Hier staat waarschijnlijk het belangrijkste stukje van de httpd.conf:

    NameVirtualHost localhost
    Listen *:80
    Listen *:9090

    <VirtualHost *:80>
    ServerAdmin pierrevi@yucom.be
    ServerName localhost
    DocumentRoot "/usr/local/apache2/htdocs"
    </VirtualHost>

    <VirtualHost *:9090>
    ServerName localhost
    ServerAdmin pierrevi@yucom.be
    DocumentRoot /var/www/pieter
    </VirtualHost>

    En welke configuratie regels kan ik dan in die virtualhost zetten?
    Allemaal of slechts enkele? neem nu bv zo'n ifmodule, moet ik die ook in
    de conf van de virtualhost zetten om te gebruiken?
    Alvast Bedankt
    Pieter

    --
    ------------------------
    remove nospam from email
    http://pieterv.free.fr
    ------------------------


  2. #2
    Johnny Bravo
    Apache configuratie met vhosts
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: Apache configuratie met vhosts

    On Tue, 11 Nov 2003 12:52:51 +0100, Pieter Van Isacker
    <pierreviNOSPAM@yucom.be> wrote:

    >Hallo
    >
    >Ik heb hier apache2.0 draaien en nu zou ik willen een vhost laten
    >draaien op poort 9090 dus als ik bv: localhost:9090 induw moet ik bij
    >mijn website uitkomen en als ik gewoon localhost doe bij de gewone
    >pagina. Dit is me ongeveer al gelukt maar het probleem is dat de gewone
    >startpagina alleen maar naar poort 80 'luistert' en als ik apache
    >herstart krijg ik deze error:
    >[Tue Nov 11 12:43:25 2003] [warn] NameVirtualHost localhost:0 has no
    >VirtualHosts
    >
    >Hier staat waarschijnlijk het belangrijkste stukje van de httpd.conf:
    >
    >NameVirtualHost localhost
    >Listen *:80
    >Listen *:9090
    >

    Uit de conf:
    Port: The port to which the standalone server listens. For
    ports < 1023, you will need httpd to be run as root initially.

    #<VirtualHost *>
    # ServerAdmin webmaster@dummy-host.example.com
    # DocumentRoot /www/docs/dummy-host.example.com
    # ServerName dummy-host.example.com
    # ErrorLog logs/dummy-host.example.com-error_log
    # CustomLog logs/dummy-host.example.com-access_log common
    #</VirtualHost>

    --
    http://portal.kools-online.com
    http://www.kools-online.com/4images
    news.kools-online.com

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics