Well it doesn't quite fit here, but it seems the best place for it so here it goes.
What I am wanting to do is make it so that every request (eventually) to a virtual domain on a apache server will be handled through a single php script. I am wanting to do this to create a script that will obfuscate scripts, stop images being requested from outside the domain, draw pages using templates and the likes. I know php isn't the best for this, but is learning experience. I have partially got a hack way of doing it through the apache rewrite engine, but it doesn't work as well as I want.
Does anyone know of a good way of doing this? I have looked around and found something on apache handlers, but I'm not quite sure if that is quite what I want.
Cheers in advanced.