All:
I've installed Apache::ASP on a Solaris 5.8 box (Apache 1.3.20, modperl
1.25, PHP, openssl, etc.)
I am having trouble running scripts in the global.asa file. I must have
some setting screwed up on the .htaccess file or the httpd.conf file. But
what????
The global.asa and the index.asp scripts are in the same directories. In
the example below, I've created a "sub HelloWorld" in the global.asa, and am
trying to call it from my main script (with a simple &HelloWorld call.)
Here is the pertinent info:
Debug Output
------------
RUN ASP (v2.17) for /export/services/apache/sites/classes/index.asp
GlobalASA package Apache::ASP::Compiles::_tmp_global_asa
global.asa was cached for _tmp_global_asa
opening lock file /tmp/xxx/server/internal.lock
opening lock file /tmp/xxx/server/application.lock
session id from cookie: 1b4a8652fca3add40393a5f472b82ff5
refreshing 1b4a8652fca3add40393a5f472b82ff5 with timeout 996688378
opening lock file /tmp/xxx/1b/1b4a8652fca3add40393a5f472b82ff5.lock
session not expired - time: 996687478; timeout: 996688339;
tieing session 1b4a8652fca3add40393a5f472b82ff5
file index.asp
parsing index.asp
start parse of data - 308
active undefing sub
Apache::ASP::Compiles::_tmp_global_asa::__ASP__export_services_apache_sites_
classes_index_aspxINL code CODE(0x9e2498)
compiling into package Apache::ASP::Compiles::_tmp_global_asa subid
[Apache::ASP::Compiles::_tmp_global_asa::__ASP__export_services_apache_sites
_classes_index_aspxINL]
executing __ASP__export_services_apache_sites_classes_index_aspxINL
tieing response package for STDOUT
Undefined subroutine &Apache::ASP::Compiles::_tmp_global_asa::HelloWorld
called at index.asp line 33. ,
/usr/local/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1545
Here is part of my .htaccess file:
----------------------------------
PerlSetVar Global .
#PerlSetVar GlobalPackage Apache::ASP::Demo
PerlSetVar UniquePackages 0
PerlSetVar StateDir /tmp/xxx
PerlSetVar StatINC 0
#PerlSetVar StatINCMatch 0
PerlSetVar Clean 0
PerlSetVar DynamicIncludes 0
PerlSetVar FileUploadMax 25000
PerlSetVar FileUploadTemp 1
PerlSetVar SessionQueryParse 0
PerlSetVar SessionQuery 1
PerlSetVar Debug -3
PerlSetVar StateCache 0
PerlSetVar SessionCount 1
PerlSetVar TimeHiRes 1
PerlSetVar CompressGzip 0
PerlSetVar StateGroupWrite 1
Suggestions? I figure that it is something really simple.
Thanks!
JL
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]