View Full Version : Redirecting HTTP requests

11-19-2006, 07:51 AM

I want to be able to take this URL for example, requested from a hyperlink:


And instead of Apache/IIS/Whatever going and searching in the webroot for page2.php, having it direct the page name to a specific PHP script, which would build the page. I am completely new to this area of web programming, so I don't know where to start. Could someone point me in the right direction?

P.S. I know I could just include the page name like builder.php?page_name, but I wanted to see if I could do it this way as an alternative.