Showing 9 Result(s)
Nginx 404 rewrite issue

Nginx 404 rewrite issue

Justin asked: I’m trying to grab variables between slashes and pass them to my management script with the following rewrite line in Nginx: rewrite ^/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)$ /index.php?p1=$1&p2=$2&p3=$3&p4=$4&p5=$5&p6=$6; If I request the …

Need nginx regex rewrite debuging help

Need nginx regex rewrite debuging help

RoboTamer asked: Possible Duplicate: Need custom Nginx regex Desired outcome is this: http://www.example.com/about/?r=something to this: http://www.example.com/about.php/?r=something This is what I got but it isn’t working: if (!-e $request_filename) { rewrite …