do you know if apache can be made to do it? doing this from every
controller is not elegant.
On Nov 14, 11:04 pm, mdipierro wrote:
> yes. sorry for the typo.
>
> On Nov 14, 9:55 pm, akonsu wrote:
>
> > thanks.
>
> > did you mean
>
> > def index():
return re.compile('\s+').sub(' ',render.response
> ('default.index.html',**dict()))
>
> It will mess up text in
>
> On Nov 14, 2:05 pm, akonsu wrote:
>
> > hello, is there a way to remove whitespaces fr
hello, is there a way to remove whitespaces from generated xhtml
output in a manner similar to django's spaceless tag?
thanks
konstantin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to
rry. I misunderstood.
>
> create a file web2py/routes.py and in it write
>
> routes_out=[('/admin/(?P.*)','https://hostname/admin/\g')]
>
> where hostname is your hostname or ip address and port.
>
> On Oct 29, 11:46 pm, akonsu wrote:
>
> > Ma
Massimo,
thanks for taking time to explain.
my question is not about running admin over https or http and how
web2py detects this, or how to connect to admin using ssh. i was just
wondering how to emit the correct url. right now the default hello
world app emits relative url for the admin and th
On Oct 29, 11:41 pm, mdipierro wrote:
> Yes you can. read the routes.examples.py file.
>
thanks, you are saying that rather than emitting the absolute url that
includes https prefix in the markup i need to map the admin url to
https in my routes, right?
konstantin
--~--~-~--~~--
hello,
i have discovered web2py just yesturday. so i am completely new,
please forgive my ignorance. (currently i am using django but i am
almost convinced now that i need to switch to web2py :) but one thing
that bothers me so far is that after i installed web2py on my
webfaction share it seems
7 matches
Mail list logo