this is standard RE (although Massimo has added some convenience
forms, I didn't see any used in this thread)...

Have you tried something like re-try.appspot.com?


On 10/30/09, Alex Fanjul <alex.fan...@gmail.com> wrote:
>
> Massimo, the regexp you write is not the 'standard' regular expresions
> (for example in htaccess), is it?
> Do you know any online tool to check this expressions as this
> http://gskinner.com/RegExr/ but for your kind of code?
>
> Thanks
> alex f
>
> El 30/10/2009 6:33, mdipierro escribió:
>> Sorry. I misunderstood.
>>
>> create a file web2py/routes.py and in it write
>>
>> routes_out=[('/admin/(?P<a>.*)','https://hostname/admin/\g<a>')]
>>
>> where hostname is your hostname or ip address and port.
>>
>> On Oct 29, 11:46 pm, akonsu<ako...@gmail.com>  wrote:
>>
>>> 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 the browser uses http
>>> for this url if the hello world application runs over http. i wanted
>>> to know how to force https for admin n the url. that is how to emit
>>> the absolute url with the right scheme prefix. or am i missing
>>> something?
>>>
>>> konstantin
>>>
>> >
>>
>>
>
> --
> Alejandro Fanjul Fdez.
> alex.fan...@gmail.com
> www.mhproject.org
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to