process all page requests by one file
Posted: Fri Nov 12, 2004 11:12 pm
i'm not sure how to ask my question but here's a shot.
i want to process (i think all) requests to my server (apache) by a php file. the file would call to include a menu, a login, a comments file, and the file requested. i suppose one way to do this would be to have apache always redirect to this php file, passing in the requested file's name? i could do this with the missing file option
im looking for the easiest and least-silly way of doing this.. i could make all my pages redirect to the missing file.. and then have the missing file process the request.. but that seems silly
am I silly for wanting to do this.. whats a better way. i havent found many answers because i dont know what im searchign for? are people already doing this.. waht do they call it...
i want to process (i think all) requests to my server (apache) by a php file. the file would call to include a menu, a login, a comments file, and the file requested. i suppose one way to do this would be to have apache always redirect to this php file, passing in the requested file's name? i could do this with the missing file option
im looking for the easiest and least-silly way of doing this.. i could make all my pages redirect to the missing file.. and then have the missing file process the request.. but that seems silly
am I silly for wanting to do this.. whats a better way. i havent found many answers because i dont know what im searchign for? are people already doing this.. waht do they call it...