Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Something like Tomcat for Perl

by Zaxo (Archbishop)
on May 18, 2003 at 05:15 UTC ( [id://258950]=note: print w/replies, xml ) Need Help??


in reply to Something like Tomcat for Perl

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

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: Something like Tomcat for Perl
by crenz (Priest) on May 18, 2003 at 12:25 UTC

    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.

      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://258950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found