Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Something like Tomcat for Perl

by crenz (Priest)
on May 18, 2003 at 12:25 UTC ( [id://258977]=note: print w/replies, xml ) Need Help??


in reply to Re: Something like Tomcat for Perl
in thread Something like Tomcat for Perl

The path tricks you want are handled by Apache's mod_rewrite.

And handled well they are. I've really fallen in love with mod_rewrite, it is just so useful. I set up a demo server for our customers, where depending on the login name used, a completely different server will be presented to them. On the server-side, it's just subdirectories (makes it easy for us to manage them), but the clients are never aware that there's anything else on the server apart from what they're seeing. I also use it to redirect multi-language pages and setting environment variables according to the language selected.

Replies are listed 'Best First'.
•Re: Re: Re: Something like Tomcat for Perl
by merlyn (Sage) on May 18, 2003 at 12:28 UTC
    Beware though. If you use internal redirects (like with mod_rewrite), you must also use a custom 404 handler that does not accidentally reveal your internal structure. The default 404 handler leaks the layout.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found