Project

General

Profile

Wildcard *.domain with built-in httpd

Added by Sergey Perunov about 12 years ago

Hi Everyone,

I need to be able to create a johnsmith.mywebsite.com for every John Smith that creates an account. I am wondering how you would set this up with the built-in httpd.

I looked through here: http://www.webtoolkit.eu/wt/doc/git/reference/html/overview.html#configuration_sec, but I can't seem to find anything similar to Apache's ServerAlias.

What's the right way to go about this?

Thanks in advance!


Replies (1)

RE: Wildcard *.domain with built-in httpd - Added by Koen Deforche about 12 years ago

Hey,

There is indeed not support for this --- however if you want to deploy the same application on each such a 'domain', there is no need either ?

You can find out the actual server name at application startup using WEnvironment::hostName() ?

Regards,

koen

    (1-1/1)