Re: Running two copies of apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am So, den 25.07.2004 schrieb Colin Paul Adams um 15:19:

> Can I have two different virtual servers with the same server name,
> but different ports? I thought I couldn't do that.
> But I can certainly run two copies of apache on two different ports,
> with the same server name.

> Colin Paul Adams

Though I never did that with different ports I am sure you can do.

    NameVirtualHost 111.22.33.44:80
    NameVirtualHost 111.22.33.44:8080

    <VirtualHost 111.22.33.44:80>
    ServerName www.domain.tld
    DocumentRoot /www/domain-80
    </VirtualHost>

    <VirtualHost 111.22.33.44:8080>
    ServerName www.domain.tld
    DocumentRoot /www/domain-8080
    </VirtualHost>

Pretty easy I think. This example is just taken from the Apache documentation on apache.org.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp 
Serendipity 15:25:24 up 3 days, 13 users, load average: 1.01, 0.59, 0.34

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux