|
mod_rewrite should help, redirect all requests to your domain to a signle php script that reads the URL requested and does whatever you want with it.
An alternative if you're too lazy to figure out mod_rewrite like I was, set the ErrorDocument to your php script so any request resulting in file not found will redirect to the same php script that reads the url. This is a pretty sneaky solution but the main drawback is the server will try to find the requested document each time, a step that is bypassed if you use mod_rewrite instead.
I recommend downloading Apache and PHP and installing on your own machine to test them, it's a great time saver and usefull experience.
|