razalduria
Goto Top

Apache (XAMPP Windows) Subdomain (VirtualHost) Frage...

Hallo!
Ich hab eine kurze (Verständnis-)Frage zum XAMPP und Subdomains...

Ich hab auf einem Windows-Server zu Testzwecken den neuesten XAMPP installiert.

Es gibt nun 2 Subdomains:
forum.domain.tld
projekte.domain.tld

Beide sind erreichbar und landen auch im richtigen Verzeichnis!
Alles prima, funktionieren tut es wunderbar!

Aber eine Sache verstehe ich nicht:
Rufe ich http://forum.domain.tld auf, steht in der Adresszeile weiterhin http://forum.domain.tld/index.php

Gehe ich aber auf projekte.domain.tld, steht in der Adresszeile des Browsers folgendes:
http://domain.tld/project-0.8.0.3/index.php?c=access&a=login
anstatt
http://projekte.domain.tld/index.php?c=access&a=login

Beide VirtualHosts sind exakt gleich in der httpd-vhosts.conf eingerichtet:
<VirtualHost *:80>
	ServerName forum.domain.tld
	ServerAlias *.forum.domain.tld
	DocumentRoot "c:/htdocs/forum"  
	ErrorLog logs/forum-error.log
	TransferLog logs/forum-access.log
</VirtualHost>

<VirtualHost *:80>
	ServerName projekte.domain.tld
	ServerAlias *.projekte.domain.tld
	DocumentRoot "c:/htdocs/project-0.8.0.3"  
	ErrorLog logs/project-error.log
	TransferLog logs/project-access.log
</VirtualHost>

<VirtualHost *:80>
	ServerName www.domain.tld
	ServerAlias domain.tld
	DocumentRoot "c:/htdocs"  
</VirtualHost>

Content-Key: 136158

Url: https://administrator.de/contentid/136158

Printed on: April 16, 2024 at 16:04 o'clock

Member: Razalduria
Razalduria Feb 17, 2010 at 13:21:14 (UTC)
Goto Top
Hat sich erledigt, Problem war eine config.php, wo als ROOT_URL noch die "alte" URL eingetragen war...