From d80730481a532316d19053bae37ff40ecfc2b24b Mon Sep 17 00:00:00 2001 From: TimotheLitt Date: Sat, 3 Nov 2012 00:39:05 +0000 Subject: [PATCH] Item12180: Remove "=for old configure" block left to document fix for old path_info mechanism. It was intentionally checked-in so it could be found if it is ever necessary to fix the old configure git-svn-id: http://svn.foswiki.org/trunk@15848 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- .../Foswiki/Configure/Checkers/CGISetup.pm | 40 ------------------- 1 file changed, 40 deletions(-) diff --git a/core/lib/Foswiki/Configure/Checkers/CGISetup.pm b/core/lib/Foswiki/Configure/Checkers/CGISetup.pm index 2a0f7f9d70..652fc32549 100644 --- a/core/lib/Foswiki/Configure/Checkers/CGISetup.pm +++ b/core/lib/Foswiki/Configure/Checkers/CGISetup.pm @@ -264,46 +264,6 @@ HERE } $contents .= $this->setting( "Foswiki module status", $mess ); -=for old_configure - - # Requires javascript support to select WebserverEnvironment tab and scroll to - # #PATH_INFO when entered with #HASH_INFO in the URL. Requires configure mail - # support to map $action to Configure if entered with 'test'. - - # PATH_INFO - Should be done with feedback... - my $url = $Foswiki::query->url(); - my $pinfo = $Foswiki::query->path_info(); - my $pitested = $Foswiki::query->param('pitest'); - $Foswiki::query->delete('pitest'); - $contents .= $this->setting( - CGI::a( { name => 'PATH_INFO' }, 'PATH_INFO' ), - ($pinfo || 'not present') - . $this->NOTE(<< "DESCRIP" ) -For a URL such as $url/test/pathinfo, -the correct PATH_INFO is /test/pathinfo, -without any prefixed path components. -DESCRIP - . ($pitested? ($pinfo? ($pinfo eq '/test/pathinfo'? - $this->NOTE( << "PIOK") : -The correct PATH_INFO was returned. -PIOK - $this->ERROR( << "PIBAD")) : -The PATH_INFO $pinfo provided by the webserver -is incorrect. Please correct your webserver's configuration and/or patchlevel. -PIBAD - $this->ERROR( << "PINONE" ) ) : -No PATH_INFO was returned by the webserver. Please correct your webserver's -configuration and/or patchlevel. -PINONE - $this->NOTE( << "PITEST" ) ) ) ); -We suggest that you -Test PATH_INFO now -- particularly if you are using mod_perl, Apache or IIS, or are using a web hosting provider. -

After clicking the test link, the results will be displayed above. -PITEST - -=cut - # mod_perl if ( $Foswiki::cfg{DETECTED}{UsingModPerl} ) { $n = $this->WARN("Used for this script - it should not be");