Hi Jaroslaw

On Oct 5, 10:53 pm, Jaroslaw Zabiello <[EMAIL PROTECTED]> wrote:
> On 5 Paź, 15:27, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > routes_in only deals with path_info not hostname. the web-server deals
> > with hostname.
>
> But I found an example which seems to say something 
> different:http://mdp.cti.depaul.edu/AlterEgo/default/show/67(It looks like
> there is a colon character used for separating domain/IP and
> path_info... am I right?)

The example refers to the fact that when writing routes_in you can
rewrite the URL based on the requester IP address (not your own
hostname). This is because sometimes I want to limit access to a
certain range of IPs or explicitly block an IP.

> > There is a book on Amazon.
>
> I know. I have already ordered it (but it will take a couple of days
> until it will be delivered to Ireland).

It is really good news that you were able to order it.
Thank you for doing so.

> > I do not know Merb, nor I think it is as widely used that it will
> > teach much to web2py users. Anyway, if you want to send me an updated
> > comparison including Merb, I may post it or include it.
>
> If I am more familiar with web2py I will try to do it. Merb (http://
> merbivore.com/) is not so popular but, to be honest, web2py is either.

True but for some reason I know web2py better then Merb (this does not
mean it is better).

> How web2py solve sending mails? Is that any special mailer module for
> that?

There is a python module for doing that called smtplib and it is very
easy to send emails. There is a section in the book about that and you
can find a model/email.py in the KPAX appliance.

> How can I use Textile or Markdown (popular formats used in blogs) in
> templates without loosing power of web2py templates and all its
> helpers?

{{from gluon.contrib.markdown import WIKI}}
{{=WIKI(your_wiki_text)}}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to