in reply to quasi-perl related ... more website design
I have used a trick with apache to get the data for the web pages from a database (in a cms).
I would have a 404 handler that runs my script, the script would check $ENV{REQUEST_URI}, and query the database, if found it overrides the 404 header with a 200 OK and spits out the page, otherwise it just keeps the 404 status with a custom message (a nice one :)
|
|---|