Gossamer Forum
Home : Products : Gossamer Links : Discussions :

$ENV{PATH_INFO} is not available, so LSQL displays new page

Quote Reply
$ENV{PATH_INFO} is not available, so LSQL displays new page
Hi!

$ENV{PATH_INFO} is not available using Apache v1.3.27 and Windows XP. There is AcceptPathInfo directive in Apache v2.0.30 or later, but I what is the situation for Apache v1.3.27?

Links/User/Page.pm in handle sub has that code:
Code:
$ENV{PATH_INFO} and ($ENV{PATH_INFO} =~ s,.*page.cgi,,);
my $page = $IN->param('g') || $ENV{PATH_INFO} || '';
...
my ($new_match) = $CFG->{build_new_url} =~ m,^$CFG->{build_root_url}/(.+),;
...
($page =~ m,^$new_match(?:/|$),) and do { generate_new_page (); last CASE; };

This means, if $ENV{PATH_INFO} is not available and we use the default query: page.cgi?d=1
then we only get the New page.

Is that a LSQL bug or an Apache config problem or something else problem?
How can I solve it? I do not want to modify the core code.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Subject Author Views Date
Thread $ENV{PATH_INFO} is not available, so LSQL displays new page webmaster33 1788 Dec 5, 2002, 9:04 AM
Thread Re: [webmaster33] $ENV{PATH_INFO} is not available, so LSQL displays new page
Paul 1703 Dec 5, 2002, 9:24 AM
Post Re: [Paul] $ENV{PATH_INFO} is not available, so LSQL displays new page
webmaster33 1707 Dec 5, 2002, 10:25 AM