in reply to Perl script to handle requests to a http://.../path/*

To use your example...

If you call the CGI script thedirectory.cgi, you should be able to configure Apache (it may be enabled by default even) to execute it when called as "thedirectory/foo/bar/baz". Once that is working, check out the path_info method of CGI.pm; it should let you fetch the last bit of the URL the script was called with (ex/ "/foo/bar/baz") so it can act accordingly.

  • Comment on Re: Perl script to handle requests to a http://.../path/*