I'm using web2py on production with lighttpd. My site has two web2py 
applications: "init" and "guide". I already created routes.py to hide 
"init" from the url. 
In addition, I would like that "guide" application appears as a subdomain, 
so that every url of this form "mydomain.com/guide/" looks like 
"guide.mydomain.com"

For example, this url
    mydomain.com/guide/posts/index
should look like
    guide.mydomain.com/posts/index

I don't mind using lighttpd mod_rewrite or web2py routes.py... But I don't 
have **any** experience in regular expresions. So I was wondering if 
someone could give me a hand on this, maybe sharing some examples of 
similar cases.

Thanks in advance! Regards, Lisandro.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to