convert WebGUI to a mod perl handler
This commit is contained in:
parent
ec9d561c5a
commit
9b23c24a6a
13 changed files with 198 additions and 101 deletions
|
|
@ -16,7 +16,7 @@ use WebGUI::URL;
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
my $pathinfo = $session{env}{PATH_INFO};
|
||||
my $pathinfo = $session{env}{SCRIPT_NAME};
|
||||
$pathinfo =~ s#^/##;
|
||||
return WebGUI::URL::getScriptURL().$pathinfo;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ sub process {
|
|||
if ($session{env}{REQUEST_URI} =~ /op\=/) {
|
||||
$append = 'op2='.WebGUI::URL::escape($append);
|
||||
}
|
||||
$temp = WebGUI::URL::gateway($session{env}{PATH_INFO},$append);
|
||||
$temp = WebGUI::URL::gateway($session{env}{SCRIPT_NAME},$append);
|
||||
$temp =~ s/\/\//\//;
|
||||
$temp = WebGUI::URL::append($temp,$session{env}{QUERY_STRING});
|
||||
if ($param[1] ne "") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue