The stupid question is the question not asked | |
PerlMonks |
OT: Apache/perl questionby Cody Pendant (Prior) |
on Dec 19, 2007 at 01:15 UTC ( [id://657771]=perlquestion: print w/replies, xml ) | Need Help?? |
Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone give me advice on how to set up the following thing?
Say I want to serve HTML from this URL:
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
Back to
Seekers of Perl Wisdom
|
|