开发者

Pylons redirect me on domain instead of subdomain

When I go to http:// sub.domain.com where is my Pylons project, application should redirect me on http:// sub.domain.com/login?redirect=/, but it's redirecting me on http:// domain.com/login?redirect=/

All redirections are to http:// domain.com/[rest of url]/ instead of http:// sub.domain.com/[rest of url]/ but project is under h开发者_C百科ttp:// sub.domain.com.

No-redirect requests works fine.

I use Pylons 1.0, mod_wsgi and Apache with virtual hosts.


Ok, solved. Just set map.sub_domains = False

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜