I working on a system will show a site based on a request variable
called _site. I done this using apache rewrite rules, I redirect the
http://www.sitename.domain.com.br/Page -> http://www.server.com/wk/Site/Page?_site=sitename
I make the url pass through proxy. This approach preserve my url, so,
even after the redirection, the url is the same as the first. It's all
working, I have a BaseTemplate that handle the request variable _site,
the name of the site is stored on a database, it is an unique id, I
get all other meaningfull information from the database.
I faced a new problem, I need to use AutomaticPathSesson, this broke
my regular expression, I can review my expression and I think I can
solve the problem this way, but first I want to ask you if there is
another way, is the way I'm doing the proper way?
I think I can do something with extraPathInfo, but I couldn' t find
where is it, the sources of Application.py tell me to use
self.request().extraPathInfo(), but there is no attribute by that
name. Where can I find it?
Thanks for attention!
Michel Thadeu Sabchuk
Curitiba - PR