Re: [Pound Mailing List] How to publish one page in https, the others in http

Alan McGinlay <alanm-02ecni/[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
This should do the trick:

ListenHTTP
     Address IPADDR
     Port    80
     Service
         HeadRequire "^Host:\s*mywebsite.com.*"
         URL "/Login?user.*"
         Redirect  301 "https://mywebsite.com"
     End
     Service
         HeadRequire "^Host:\s*mywebsite.com.*"
         BackEnd
             Address yournormalbackend
             Port    80
         End
     End
End
ListenHTTPS
     Address IPADDR
     Port    443
     Cert    "/etc/ssl/certs/cert.pem"
     Service
         HeadRequire "^Host:\s*mywebsite.com.*"
         URL "/Login?user.*"
         BackEnd
             Address yournormalbackend
             Port    80
         End
     End
End


That won't cover users trying to browse the rest of your site with https 
enabled, add another service for that.




On 2013-06-28 14:08, PIEUX Emmanuel wrote:
> Good morning,
>
> I have a website to publish with Pound in http (ie http://mywebsite.com).
>
> I’d like the authentication page
> (http://mywebsite.com/authentication/Login?user) be published in https,
> and only this page.
>
> How could I do that with Pound (and is it possible…)?
>
> Sincerely
>
> Emmanuel Pieux
>
> *cid:[email protected]
> **Emmanuel PIEUX**– *Responsable de la sécurité des systèmes d’information
> *
> *Chambre de Commerce et d'Industrie de Grenoble
>               1, place André Malraux - BP 297
>               38016 GRENOBLE CEDEX 1
>               T. 04 76 70 64 06 – M. 06 22 96 19 63
> **www.grenoble.cci.fr <http://www.grenoble.cci.fr>
>

--
To unsubscribe send an email with subject unsubscribe to [email protected]
Please contact [email protected] for questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.