Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: quasi-perl related ... more website design

by osama (Scribe)
on Jan 09, 2003 at 22:05 UTC ( [id://225663]=note: print w/replies, xml ) Need Help??


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 :)

  • Comment on Re: quasi-perl related ... more website design

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://225663]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found