Wub Virtual Hosting

12 views
Skip to first unread message

atk

unread,
Sep 30, 2013, 7:26:33 PM9/30/13
to wub-dis...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages