Hi E., just a rough guess: is your state directory "/tmp/asp" writable and readable by apache? (or has mode 0777 for a try)
Helmut --On Tuesday, May 11, 2004 11:12:19 +0000 e_elmaraghy <[EMAIL PROTECTED]> wrote: > Hi Folks > I am having RedHat9 & Apache2 > I have installed Apache::ASP for mod_Perl I can view the website > index > and config pages but when I go to the Examples subdirectory I can > view > the pages with extensions .htm > but when requesting a (.asp) page I only get Error 500 (Internal > server rror) although I have added the paragraph > <Directory “var/www/html/asp/eg” > > Options FollowSymLinks > AllowOverride All > </Directory> > at the end of httpd.conf > I need a consultation also where in the httpd.conf file can I add > the paragraph > PerlModule Apache::ASP > <Files ~ (\.asp)> > SetHandler perl-script > PerlHandler Apache::ASP > PerlSetVar Global . > PerlSetVar StateDir /tmp/asp > </Files> > I have placed it between <virtual host> </virtual host> and still > getting the same result > > the error log file > > [Tue May 11 13:55:18 2004] [error] [asp] [14921] [debug] RUN ASP (v2. > 57) for /var/www/html/asp/eg/application.asp > [Tue May 11 13:55:19 2004] [error] [asp] [14921] [debug] call srand() > post fork > [Tue May 11 13:55:19 2004] [error] [asp] [14921] [debug] GlobalASA > package Apache::ASP::Demo > [Tue May 11 13:55:19 2004] [error] [asp] [14921] [debug] global.asa > was not cached for __ASP__var_www_html_asp_eg__xxApache::ASP::Demo > [Tue May 11 13:55:19 2004] [error] [asp] [14921] [debug] compiling > global.asa Apache::ASP::Demo __ASP__var_www_html_asp_eg__xxApache:: > ASP::Demo exists 1 - asp: Apache::ASP=HASH(0x84fa0bc); compiled: > HASH(0x85d06b4); exists: 1; package: Apache::ASP::Demo; - --- - > exists: 0; mtime: 0; > [Tue May 11 13:55:19 2004] [error] [asp] [14921] [debug] global.asa > routines - Application_OnEnd: 1; Application_OnStart: 1; > Script_OnEnd: > 1; Script_OnFlush: 1; Script_OnStart: 1; Session_OnEnd: 1; > Session_OnStart: 1; > [Tue May 11 13:55:19 2004] [error] [client 127.0.0.1] Undefined > subroutine &Apache::ASP::InitState called at > /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 418.!!Apache::ASP:: > new('Apache::ASP','Apache::RequestRec=SCALAR(0x84f9f6c)', > '/var/www/html/asp/eg/application.asp') called at > /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 181!!Apache::ASP:: > handler('Apache::RequestRec=SCALAR(0x84f9f6c)') called at -e line 0!! > eval {...} called at -e line 0!, referer: http://ehab/asp/eg/index. > html > [Tue May 11 13:55:21 2004] [error] [asp] [14921] [debug] destroying > ASP object Apache::ASP=HASH(0x84fa0bc) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]