in reply to Perl file names and extensions

How would this actually work? Perhaps it's just me, but that url would give a 500 error, which I would then have to capture using another script and redirect to the proper url... is there Another Way To Do It?

Replies are listed 'Best First'.
Re^2: Perl file names and extensions
by gellyfish (Monsignor) on Aug 03, 2004 at 15:29 UTC

    No no not all - it just depends on the configuration of the webserver, of course if you are on windows which depends on the extension to know what to do with the file then you are a bit stuck, short of some ISAPI filter magic or creating some completely different extension, but with , say Apache, this is common practice - of course if you are using mod_perl the thing in the 'file' position at the end of the url may not actually be a physical resource at all.

    /J\

Re^2: Perl file names and extensions
by davorg (Chancellor) on Aug 03, 2004 at 15:29 UTC

    Yeah. Use mod_rewrite.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg