tangent has asked for the wisdom of the Perl Monks concerning the following question:
www.example.com/cgi-bin/events.pl?date=20120209&id=100I have found CGI::PathInfo on CPAN which allows me to produce URLs like this:
www.example.com/cgi-bin/events.pl/date-20120209/id-100As it happens, I can run Perl scripts outside of my cgi-bin directory so now I can do this:
www.example.com/events.pl/date-20120209/id-100Much nicer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running perl script outside cgi-bin
by Corion (Patriarch) on Feb 07, 2012 at 22:03 UTC | |
by tangent (Parson) on Feb 07, 2012 at 23:14 UTC | |
by Anonymous Monk on Feb 08, 2012 at 09:18 UTC | |
by tangent (Parson) on Feb 08, 2012 at 13:44 UTC |