Rewrite non-ssl to ssl except for given location
Adnan RIHAN
adnan at rihan.fr
Sun Apr 15 17:22:50 UTC 2012
That's what I answered, it's working and thank you.
And sorry for being a host which enforce strange configs, but I'm currently trying to do better, and it's not easy (as the dev of the softwares I'm using are a bit short-minded...).
Have a nice day !
--
Cordialement, Adnan RIHAN.
Président-Fondateur de l'association (de loi 1901) Virtual-Info (http://www.virtual-info.info/), hébergeur Web et Serveurs de Jeux.
Consultant (http://rihan.fr/)-Technicien Supérieur en Informatique de Gestion.
Ambassadeur Qt (http://lyt.me/7E) (Projet Tag-PG (http://rihan.fr/fr/projets/tagpg)).
Le dimanche 15 avril 2012 à 19:20, Jonathan Matthews a écrit :
> On 15 April 2012 17:57, Adnan RIHAN <adnan at rihan.fr (mailto:adnan at rihan.fr)> wrote:
> [snip]
> > I don't get what you're "missing". PHP Files are never matched because there
> > is no location block including them.
> > I've put my rewrite outside any blocks actually.
> >
>
>
> Ah; your indenting fooled me into thinking your include was the last
> line of the @apache location. Now that I've noticed it's /outside/ any
> location, I can see how it works. The negative lookahead should work
> fine here :-)
>
> Jonathan
> --
> Jonathan Matthews
> Oxford, London, UK
> http://www.jpluscplusm.com/contact.html
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org (mailto:nginx at nginx.org)
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120415/c1b39db6/attachment.html>
More information about the nginx
mailing list