$query-path+info is not what i thought it would be

2001-03-03 Thread Andrew Clark
Hi, could someone PLEASE help! I am trying to write a script that if accessed through http://server/script/ would produce HTML, where-as: http://server/script/wap/ would produce WML. That all worked fine until i converted to mod_perl. I did change $ENV{'PATH_INFO'} to the

Re: $query-path+info is not what i thought it would be

2001-03-03 Thread Matt Sergeant
On Sat, 3 Mar 2001, Andrew Clark wrote: Hi, could someone PLEASE help! I am trying to write a script that if accessed through http://server/script/ would produce HTML, where-as: http://server/script/wap/ would produce WML. That all worked fine until i converted to mod_perl.

Re: $query-path+info is not what i thought it would be

2001-03-03 Thread Andrew Clark
Thanks but it's nothing to do with global variables I don't think eg. my $query = new CGI; print $query-path_info(); works when a path info has been added to the URL but returns random results when there isn't one. Andrew In message [EMAIL PROTECTED], Matt Sergeant [EMAIL PROTECTED]