Perl Monk, Perl Meditation | |
PerlMonks |
Re: quasi-perl related ... more website designby osama (Scribe) |
on Jan 09, 2003 at 22:05 UTC ( [id://225663]=note: print w/replies, xml ) | Need Help?? |
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 :)
In Section
Seekers of Perl Wisdom
|
|