Re: Wub Virtual Hosting

31 views
Skip to first unread message

Colin McCormack

unread,
Sep 30, 2013, 10:21:55 PM9/30/13
to wub-dis...@googlegroups.com
The site.config allows you to specify host as well as path ... I would expect //sub.you.com/path to work. //*.you.com/path/to/stuff too.


Sent from my Telstra Next G® device


-------- Original message --------
Subject: Wub Virtual Hosting
From: atk <bwaa...@gmail.com>
To: wub-dis...@googlegroups.com
CC:


Hi All,
I am hosting a domain (www.mydomain.com) under Wub and it's running fine.
I'd like to virtual host a sub-domain (sub.mydomain.com) under the same Wub instance.
I was thinking 'Nub' was the best way to achieve this but I can't seem to get it right.

My setup is as follows;
 - In local.tcl, i have a namespace ::MySite
 - In the global area of local.tcl, I created a Nub as below;
   Nub domain /sub.mydomain.com/ /proc_submydomain

 - startup Wub
 - browser: http://sub.mydomain.com

The above will redirect me on the home page of www.mydomain.com.

I am trying to execute /proc_submydomain for all sub.mydomain.com requests.
I'm certainly lost...please help.

Thanks in advance

ATK

--
You received this message because you are subscribed to the Google Groups "Wub Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wub-discussio...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages