rewrite assistance

daveyfx nginx-forum at nginx.us
Wed Nov 24 03:22:20 MSK 2010


Antonio,

That did not work.  I'm still getting the same end result where
/preview.php?controllerName=channel&id=2 is rewritten as
/?controllerName=channel&id=2

Essentially I just want to check to see if preview.php is the requested
file, and if it is, redirect to / regardless of the query string
appended after preview.php

Thanks,
Dave

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,152792,152828#msg-152828




More information about the nginx mailing list