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...
Quote Reply
Re: [webmaster33] $ENV{PATH_INFO} is not available, so LSQL displays new page In reply to
I use 1.3.26 on XP which also doesn't have PATH_INFO but d=1 works as normal for me.
Quote Reply
Re: [Paul] $ENV{PATH_INFO} is not available, so LSQL displays new page In reply to
Ok. Solved.
Done a brand new install, now works fine.
Thanks!

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...