> 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?

Those are both fine.  The 404 handler approach will give slightly better
performance for your static pages.
Other ways people handle this include using an extension that is different
for the dynamic URLs (*.phtml or something), or using Location directives
to map specific URLs to handlers.  The latter is a good way to do it if
you have just a few dynamic URLs or if they can all be grouped in a
certain "directory" like /reports/*.
> 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?

You have to make the default handler pick it up.  I forget the exact
syntax, but there were some examples posted to the mailing list a while
back.
- Perrin


Reply via email to