<VirtualHost *>
ServerName demo.de
ServerAlias demo_hamburg
ServerAdmin service@demo
DocumentRoot /webserv.......
Warum wird hier nur http://demo_hamburg.de gefunden?
aber www.demo_hamburg.de nicht
schreibe ich ServerAlias .*demo_hamburg
wird www gefunden, aber nicht http
Nur wenn ich beide in der vhost eintrage
.*demo_hamburg demo_hamburg
ist alles korrekt.
Muss das immer so, mache ich was falsch?
Probeme mit der Vhost
-
- Project Manager
- Posts: 11179
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Probeme mit der Vhost
Ja, siehe Doku.amiga1200 wrote:Muss das immer so
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 483
- Joined: 2006-01-06 03:23
- Location: Neben Bonn
Re: Probeme mit der Vhost
Liegt daran, dass, wenn du *.domain.com definierst, der Punkt vor domain.com explizit ist. Sprich, domain.com wird von diesem ServerName/Alias nicht erfasst.