Thanks for your replies,

> Why you didn't use the https decorator ?

I'm new in pylons, I didn't know decorators. I'll see that.

>I think it's not Pylons's jobs to handle the HTTPS/SSL thing. You
>should implement your web application. The certificate + cypher layer
>is something the web server should cope with, hence Apache. We have a
>web application under SSL but there's no logic whatsoever about it in
>the Pylons's controllers.

My apache is configured, I can access http://127.0.0.1 and https://127.0.0.1
without problems.
My problem is : how to say to pylons to use a https connection just
for the links I want and use http for others links.

I finally find an alternative "solution" in making two pylons
instances, one for http and one for https, and I'm trying to make
redirections.
In the https pylons I have specify a .pem key in the
development.ini  :
"ssl_pem = 'my key'.pem"

But I'm not happy with this solution.

If I delete this line, I can't access https://127.0.0.1:5000.

And if I specify :
"ssl_pem = *"
My entire site is in https, that I don't want.

I hope I was clear, I have little problems with english :)

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

Reply via email to