Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

will request_uri get passed from cookieless server to 403 page on main server? (1 reply)

$
0
0
Migrating to a new server and thought I'd take the time to set up a
cookieless subdomain on it for static files.

In my current setup, 403 errors are sent to a php file which grabs the
$_SERVER["REQUEST_URI"], locates the page of the photo on the site, and
redirects the person to that page so they see it in our context.

So now I'm going to set up static.example.com.

If I set the 403 error page to go to
error_page 403 http://www.example.com/dhe403.shtml;

in order to run the PHP on the 403 error, does the REQUEST_URI get passed
between servers or do I have to do some rewrite magic that I currently
don't do?

Thanks.

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

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>