judging by this thread: http://www.mail-archive.com/suppressed/msg15609.htmlThis might be an old question but I'm not entirely sure I understand the answer spelled out in the response.
I have the following Location setting in my httpd.conf (via an include file):
<Location /mod_perl> SetHandler perl-script PerlResponseHandler mod_perl::Test </Location> hits to various related urls result in the following: http://localhost/mod_perl/ SCRIPT_NAME = /mod_perl PATH_INFO = / http://localhost/mod_perl/test1 SCRIPT_NAME = /mod_perl PATH_INFO = /test1 http://localhost/mod_perl/test1/test2 SCRIPT_NAME = /mod_perl PATH_INFO = /test1/test2when using CGI.pm and the url(relative => 1) method, always results in 'mod_perl', as opposed to the basename (for lack of a better word) in SCRIPT_NAME.
Is there any way to get have the url() method get the SCRIPT_NAME defined by the regex: s|/.*/(.*)|$1| (that may not account for all possibilities, but close enough for an example)
Thanks, -lev
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.