I've been trying all morning to try to get Apache::ASP configured on apache server with mod_ssl and I am continuously getting the same error's generated regardless of what I do. The server is a Win32 platform. I have gotten the demo page to load but the demo .asp's would return a server misconfiguration.
Thanks in advance. Errors Output error compiling index.html: Global symbol "%EG" requires explicit package name at (eval 84) line 6. Global symbol "%EG" requires explicit package name at (eval 84) line 29. Global symbol "%EG" requires explicit package name at (eval 84) line 29. , c:/apache/Perl/site/lib/Apache/ASP.pm line 1432 Debug Output RUN ASP (v2.53) for c:/apache/apache/modperl/asp/eg/index.html GlobalASA package Apache::ASP::Demo parse file SCALAR(0x16ad1d8) found header.inc at c:/apache/apache/modperl/asp/eg/header.inc runtime exec of dynamic include header.inc args () parse file SCALAR(0x185ea28) compiling into package Apache::ASP::Demo subid [] found footer.inc at c:/apache/apache/modperl/asp/eg/footer.inc runtime exec of dynamic include footer.inc args () parse file SCALAR(0x185ea58) compiling into package Apache::ASP::Demo subid [] compiling into package Apache::ASP::Demo subid [] error compiling index.html: Global symbol "%EG" requires explicit package name at (eval 84) line 6. Global symbol "%EG" requires explicit package name at (eval 84) line 29. Global symbol "%EG" requires explicit package name at (eval 84) line 29. , c:/apache/Perl/site/lib/Apache/ASP.pm line 1432 ASP Done Processing Apache::ASP=HASH(0x16b1c90) - GlobalASA: Apache::ASP::GlobalASA=HASH(0x17fcee8); Request: Apache::ASP::Request=HASH(0x16b1da4); Response: Apache::ASP::Response=HASH(0x16b56a8); Server: Apache::ASP::Server=HASH(0x16b56d8); basename: index.html; cleanup: ARRAY(0x16b1db0); compile_checksum: 4f6cee88bb9cefa7a30363e13cdd577b; compile_error: 1; compile_eval: SCALAR(0x16a52c8); compile_includes: 1; compile_perl_count: 3; dbg: 3; debugs_output: ARRAY(0x16a5298); destroy: 1; dirname: c:/apache/apache/modperl/asp/eg/; errors_output: ARRAY(0x16a552c); errs: 1; filename: c:/apache/apache/modperl/asp/eg/index.html; global: C:\DOCUME~1 \ADMINI~1.LIT\LOCALS~1\Temp; global_package: Apache::ASP::Demo; includes_dir: ARRAY(0x16b1cfc); init_packages: ARRAY(0x185ebd8); inode_names: ; lang_comment: #; lang_language: PerlScript; lang_module: Apache::ASP::Lang::PerlScript; lang_object: Apache::ASP::Lang::PerlScript=HASH(0x16b1d8c); last_time: 1056390410.6910; no_cache: 1; package: Apache::ASP::Demo; parse_config: 1; pod_comments: 1; r: Apache=SCALAR(0x16ad118); search_dirs_cache: HASH(0x10f1df4); start_time: 1056390410.65094; stat_inc: ; stat_inc_match: ; stat_scripts: 1; state_dir: /tmp/asp_demo; use_strict: 1; win32: 1; xml_subs_match: ; xml_subs_perl_args: 1; xml_subs_strict: ; xslt: ; errors out error compiling index.html: Global symbol "%EG" requires explicit package name at (eval 84) line 6. Global symbol "%EG" requires explicit package name at (eval 84) line 29. Global symbol "%EG" requires explicit package name at (eval 84) line 29. , c:/apache/Perl/site/lib/Apache/ASP.pm line 1432 Compiled Data with Error -: package Apache::ASP::Demo; ;; sub { ;; package Apache::ASP::Demo; ;; use strict;;;use vars qw($Application $Session $Response $Server $Request);;;; -: -: ; -: # split the page in 2 for nice formatting and english style sorting -: my(@col1, @col2); -: my @keys = sort keys %EG; -: @keys || die("\%EG is not defined, make sure you copied ./eg/global.asa correctly"); -: my $half = int(@keys/2) + 1; -: -: for(my $i =0; $i <= $#keys; $i++) { -: if($i < $half) { -: push(@col1, $keys[$i]); -: } else { -: push(@col2, $keys[$i]); -: } -: } -: $Response->Debug('col1', [EMAIL PROTECTED], 'col2', [EMAIL PROTECTED]); -: $title = 'Example ASP Scripts'; -: ; &Apache::ASP::WriteRef($main::Response, \(' -: -: ')); $Response->Include ('c:/apache/apache/modperl/asp/eg/header.inc', ); ; &Apache::ASP::WriteRef($main::Response, \(' -: -: <table border=0> -: ')); while(@col1) { -: my $col1 = shift @col1; -: my $col2 = shift @col2; -: ; &Apache::ASP::WriteRef($main::Response, \(' -: <tr> -: ')); for([$col1, $EG{$col1}], '', [$col2, $EG{$col2}]) { -: unless(ref $_) { -: print "<td width=10> </td>"; -: next; -: } -: next unless $_->[0]; # last col / last row -: -: # clean up the descriptions -: $_->[1] =~ s/\s*\.\s*$//s; -: $_->[1] .= '.'; -: -: ; &Apache::ASP::WriteRef($main::Response, \(' -: <td valign=top> -: <nobr> -: <font> -: <b> -: <a href='.($_->[0]).'>'.($_-> [0]).'</a> -: ')); if($_->[0] =~ /\. (htm|asp|ssi|xml)$/) { ; &Apache::ASP::WriteRef($main::Response, \(' -:   -: <i> -: (<a href=source.asp?file='. ($_->[0]).'>source</a>) -: </i> -: ')); } ; &Apache::ASP::WriteRef ($main::Response, \(' -: </b> -: </font> -: </nobr> -: <br> -: <font size=-1>'.($_->[1]).'</font> -: </td> -: ')); } ; &Apache::ASP::WriteRef($main::Response, \(' -: </tr> -: ')); } ; &Apache::ASP::WriteRef($main::Response, \(' -: </table> -: -: ')); $Response->Include ('c:/apache/apache/modperl/asp/eg/footer.inc', ); ; ;; } ---------------------------------------------------------------------- ---------- An error has occured with the Apache::ASP script just run. If you are the developer working on this script, and cannot work through this problem, please try researching it at the Apache::ASP web site, specifically the FAQ section. Failing that, check out your support options, and if necessary include this debug output with any query. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]