Apache Server configuration support - redirecting to start page tracking the wrong URL

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > redirecting to start page tracking the wrong URL





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author redirecting to start page tracking the wrong URL
joahking

2006-02-13, 9:53 am

hi there, maybe this one here is a dumm question, but i need the answer:

I'd like that my site (let's say www.site.de) redirects all requests to

(let's say) page.php

but I want to know WHICH url the user typed

e.g.

www.seite.de/userrequest (note that userrequest have no extension [.php,

.html ...], meaning: userrequest is no page at all)

I'd like the following to happen:

1. redirect to page.php

2. in page.php with something like echo $_SERVER['REQUEST_URI'] should

"/userrequest" appear

could some one help me
(sorry about my lack of apache knowledge)
joaquin
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com