On Mon, Feb 24, 2014 at 04:10:24PM +0100, basti wrote:

Hi there,

>  # do not rewrite this
>  location /mailadmin/(.*.\.php)$ {

You probably will have no requests that will match this prefix location.

>  location / {
>       rewrite ^ http://$server_name$request_uri? permanent;

Many requests will match this location, and be redirected to a http url.

>  location ~ \.php$ {

Some requests will match this location.

> URLs like
> https://example.com/mailadmin/test.php?ps=301A1123344556E925803435&framework=
> are partly rewrite.

I would expect that request to match the third location.

What response do you get for it? What response do you want for it?

        f
-- 
Francis Daly        fran...@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to