Welcome! Log In Create A New Profile

Advanced

Re: Rewrite rules for "random" subfolders

Anoop Alias
August 15, 2015 03:46AM
Try the below one in the server context ..outside all location blocks. You
can enable dedug log and do rewrite_log on; to see if its matching etc.
Good Luck!

rewrite ^/galleries/album-set/album-2/(.*)-single\.php
/galleries/album-set/album-2/single.php?id=$1 last;
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Rewrite rules for "random" subfolders

Muffel2k August 14, 2015 06:22AM

Re: Rewrite rules for "random" subfolders

ryd994 August 14, 2015 01:22PM

Re: Rewrite rules for "random" subfolders

Muffel2k August 14, 2015 02:33PM

Re: Rewrite rules for "random" subfolders

Anoop Alias August 15, 2015 03:46AM

Re: Rewrite rules for "random" subfolders

Muffel2k August 15, 2015 01:45PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready