Hallo zusammen,
ich hab schon gegoogelt und im Usenet bin ich auch nicht fündig geworden.
Wie konfiguriere ich dummy-Subdomains, d.h. die auch zukünftig bei weiteren geschalteten Domains gültig sind.
ServerName phpmyadmin.*
funktioniert nicht - ich hab aber keinen Bock phpmyadmin.domain1.de phpmyadmin.domain2.de usw einzurichten.
gruß
Sebastian
ServerName a.*
Re: ServerName a.*
Das ist normalerweise nicht möglich (obwohl es einen entsprechenden Bug gab/gibt).
Was spricht gegen ein paar Zeilen Bash?
Was spricht gegen ein paar Zeilen Bash?
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.
-
Roger Wilco
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: ServerName a.*
Im Apache httpd geht es wohl, zumindest macht Plesk das mit den Subdomains webmail und lists:Joe User wrote:Das ist normalerweise nicht möglich (obwohl es einen entsprechenden Bug gab/gibt).
Code: Select all
<VirtualHost 127.0.0.1:80>
DocumentRoot /usr/share/psa-horde/
[...]
ServerName webmail
ServerAlias webmail.*
[...]
</VirtualHost>
[...]
<VirtualHost 127.0.0.1:80>
DocumentRoot /srv/www/vhosts/default/htdocs
ServerName lists
ServerAlias lists.*
[...]
</VirtualHost>In lighttpd wäre es übrigens auch recht einfach. ;)
Re: ServerName a.*
Vorsicht - er möchte einen Wildcard-ServerName vergeben, der muß aber fqdn sein ... ServerAlias kann Wildcard sein.
flo.
flo.
Re: ServerName a.*
Nö, es gab aber bereits RF-User, die durch diesen "Bug" auf die Nase gefallen sind. IIRC circa 1.5 Jahre her...Roger Wilco wrote:Hast du vielleicht gerade ein URL zu dem Bugreport parat?
Stimmt, aber spätestens bei fehlendem Wildcard/A-Record oder passendem Eintrag in /etc/hosts für die Hauptdomain gibt es Probleme beim Auflösen ;)Roger Wilco wrote:In lighttpd wäre es übrigens auch recht einfach. ;)
Man sollte die Spielchen mit diesem "Bug" (IMHO) unterlassen und es gleich richtig machen, spart einem später viel Ärger...
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.
