Crockettv,
It would probably be clearer to create a new post for your question.
I'm pretty sure the browser will set the Referer header value to the URI of the request which generated the redirect. So if the first request is to http://www.example.com/first_page.html and the client is redirected to http://www.example.com/second_page.html, the Referer in the request to http://www.example.com/second_page.html will be http://www.example.com/first_page.html. I don't think there is a way to modify what the client sets the Referer header to.
I suppose you could rewrite the request and not redirect the request to the first page in order to preserve the Referer header value.
Grimish, if you create a new post, you should be able to get an answer to your question. Here are a few related wiki pages:
IP::addr (
Click here)
matchclass (
Click here)
Aaron