The basic concept I want to accomplish is to allow for static and dynamic content to be accessed from any url and be transparent to the visitor.
 
i.e
publish a static page called /foo/bar.htm
have a dynamic page called /foo/foobar.htm
 
I imagine there are a couple of different ways to do this, such as:
 
* Set the dynamic page script as the 404 handler, then all it does is determine if the content can be displayed from a database.
 
OR
 
* Set ALL requests to filter through my handler, do lookup_uri / lookup_file on it and either return the static content (somehow) or return a dynamic page.
 
 
Does anyone have any points of view on whether the script should just be a 404 handler or whether I should set a handler to listen to all requests and have my script determine what to do, or another way to do it?
 
If I do set my script to answer all requests, how do I tell the webserver to show the static content that exists under the requested url?
 
All comments welcome.
 
Dave
 
David Cumming
Webmaster
Corporate Affairs
Environmental Protection Agency
+61 7 3247 3274
 
www.env.qld.gov.au
 

Reply via email to