Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
Say I want to serve HTML from this URL:
http://myserver.com/directory/anotherdirectory/
But what's really going on is that directory is a perl CGI script which gets /anotherdirectory/ as its $ENV{QUERY_STRING}.
I know I can do that using Apache rewrite rules for "if directory doesn't exist", but I could swear I've seen it done a different, simpler way, where the filename "directory" is identified as an executable perl script and there's some kind of 'accept from all' magic and somehow it Just Works.
Am I crazy?
Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: OT: Apache/perl question
by pfaut (Priest) on Dec 19, 2007 at 02:12 UTC | |
by Cody Pendant (Prior) on Dec 19, 2007 at 06:20 UTC | |
Re: OT: Apache/perl question
by aquarium (Curate) on Dec 19, 2007 at 01:54 UTC | |
by Cody Pendant (Prior) on Dec 19, 2007 at 04:29 UTC | |
by Anonymous Monk on Dec 19, 2007 at 07:23 UTC | |
Re: OT: Apache/perl question
by NetWallah (Canon) on Dec 19, 2007 at 01:55 UTC | |
by Cody Pendant (Prior) on Dec 19, 2007 at 04:32 UTC | |
Re: OT: Apache/perl question
by maverick (Curate) on Dec 19, 2007 at 17:03 UTC | |
by dorward (Curate) on Dec 20, 2007 at 01:24 UTC |