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. I did change
> $ENV{'PATH_INFO'} to the $query->path_info() code and usually works fine
> until there are multiple requests between wap and html.
>
> from what i can tell if you access the script with /wap/ it always
> works, but it's when you pass it nothing that I get what seems to be the
> contents of the Environment String of PATH_INFO which as it happens is
> the last document requested and would sometimes be /wap/.
Try http://take23.org/docs/guide/porting.xml/4#4
--
<Matt/>
/|| ** Founder and CTO ** ** http://axkit.com/ **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** mod_perl news and resources: http://take23.org **
\\//
//\\
// \\