I have been trying to install Apache:ASP 2.07 on Solaris 2.6 with Perl
5.6.0. When I try to load an ASP page, I get the following errors:
Errors Output
1.. Can't open /tmp/.state/3d/3d8ae603196.lock: ,
/raid1/perl5.6.0/lib/site_perl/5.6.0/Apache/ASP.pm line 4831
Debug Output
1.. Can't open /tmp/.state/3d/3d8ae603196.lock: ,
/raid1/perl5.6.0/lib/site_perl/5.6.0/Apache/ASP.pm line 4831
ASP to Perl Script
Here is the directory listing:
zeus:mhurwitch/tmp/.state/3d ls -ltotal 0-rw-r- 1 nobody nobody
0 Dec 21 10:07 3d8ae603196.dir-rw-rw-rw- 1 nobody nobody 0 Dec
21 10:07 3d8ae603196.lock-rw-r- 1 nobody nobody 0 Dec 21
10:07 3d8ae603196.pag
Here is the ASP page:
HEAD
TITLEMike's ASP Page/TITLE
%
$Session-{"Test"} = "This is a test";
%
/HEAD
BODY
%
print "Hello!\n";
%
/BODY
Httpd.conf is pretty simple :
Files *.asp
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
PerlSetVar Debug 2
/Files
If we use PerlSetVar NoState 1, the page works fine.
Apache runs as user 'nobody', and I think this is permissions problem, but
/tmp/.state seems to be fine.
I'd appreciate any help you can offer.
Thanks,
Michael Hurwitch
[EMAIL PROTECTED]