> p.s.: does anyone know of a namebased virtualhosting module or similar for 
> apache2 that doesn't require a graceful apache2 restart?

You could redirect all requests of a certain domain by using
<VirtualHost IP:80>
  ServerName *.domain.tld

 (other options needed for your vhost)
</VirtualHost>

Then you could easily determine which of your "virtual" vhosts is
requested by using PHP. The current domainname is stored in the special
variable $_SERVER['HTTP_HOST'] (something like "subdomain.domain.tld").

Now you can decide what page to display. But please note that this
solution requires a PHP call for every file you serve (including CSS and
images). This may cause a significant performance impact because Apache
won't able to cache anything.
begin:vcard
fn:Christian Spoo
n:Spoo;Christian
adr;quoted-printable:;;Am Kaiser 26;W=C3=BCrselen;NRW;52146;Deutschland
email;internet:[EMAIL PROTECTED]
tel;fax:02405/475071
tel;home:02405/493466
tel;cell:0176/61055475
x-mozilla-html:FALSE
version:2.1
end:vcard

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to