Running two copies of apache
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Sun Jul 25 13:28:42 UTC 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040725/2139ec8c/attachment-0001.sig>
More information about the fedora-list
mailing list