Hi.

Set up.
Development server

[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 2051

routing.py
map.append_slash = True
map.sub_domains = True
map.sub_domains_ignore = ['www']

map.connect('', controller='main', action='company_sub_domain',
conditions=dict(sub_domain=True))

http://www.localhost:2051/ works fine even without
map.sub_domains_ignore = ['www']

anything else like http://foo.localhost:2051/ throws 'The page cannot
be displayed' in IE and 'Server not found' in FF

It looks like the server's not even listening to anything else, but www.
Must be me messing something up.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to