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

Re: apache-VH sperrt mich aus



On 17.Dec 2004 - 17:24:09, Andreas Pakulat wrote:
> Hi,
> 
> hab hier ein kleines Problem mit meinem Apachen. Für meinen
> Zope-Server brauch ich folgenden VH:
> 
> <VirtualHost zope-dbis:80>
>        ServerName zope-dbis
>        RewriteEngine on
>        RewriteRule ^/(.*) http://zope-dbis:18080/VirtualHostBase/http/zope-dbis:80/ls-dbis/VirtualHostRoot/$1 [P]
> </VirtualHost>

Ok, irgendwie kapier ich den VHost Kram nicht, laut Apache Doku sollte
mit obigem und 

NameVirtualHost 127.0.0.1:80

Der Server für zope-dbis/ Anfragen den VH nehmen, für alles andere das
normale DocumentRoot.

etc/hosts sieht so aus:
127.0.0.1	localhost
127.0.0.1	zope-dbis	zope-dbis
127.0.0.1	zope27-dbis	zope27-dbis
127.0.0.1	debian		localhost
127.0.0.1	marillat	localhost
127.0.0.1	java		localhost
127.0.0.1	opera		localhost

192.168.2.2	morpheus.matrix.de	morpheus

Naja, nach Hinzufügen von 

<VirtualHost localhost:80>
	ServerName localhost
	DocumentRoot /var/www
</VirtualHost>

funktioniert zumindestens localhost/* wieder, aber wenn ich dann für
die restlichen Namen 

ServerAlias localhost debian marillat java opera

hinzufüge klappt wieder nüscht :-(

Ich hab auch probiert statt <VirtualHost localhost:80> <VirtualHost *>
zu nehmen mit demselben Ergebnis.

Andreas

-- 
Your society will be sought by people of taste and refinement.



Reply to: