Well, I decided to start all over on building my web server. Formatted the
disk and reinstalled Win2000.
Now, I when to
http://perl.apache.org/embperl/INSTALL.pod.1.html#WIN_32_with_ActiveState_Pe
rl and followed the instructions to install on WIN32. (need to from Then
run the ppm program to install mod_perl
ppm install
http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-1.25_1.3.19.ppd
to
ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd
)
Anyway. I then edited my httpd.conf file by un commented the following
lines:
LoadModule info_module modules/mod_info.so
LoadModule status_module modules/mod_status.so
and adding this one:
LoadModule perl_module modules/mod_perl.so
Next, I created a embperl directory and hung it off the Apache directory
(took the example from the binary found at theoryx5.uwinnipeg.ca)
and added the following to the httpd.conf:
# The following is for HTML::Embperl
PerlSetEnv EMBPERL_DEBUG 1
PerlSetEnv EMBPERL_LOG "C:/Program Files/Apache
Group/Apache/logs/embperl.log"
PerlSetEnv EMBPERL_VIRTLOG "C:/Program Files/Apache
Group/Apache/logs/embperl.log"
Alias /embperl/ "C:/Program Files/Apache Group/Apache/embperl/"
<Location /embperl>
PerlSetEnv EMBPERL_OBJECT_BASE base.html
PerlSetEnv EMBPERL_FILESMATCH "\.html?$|\.epl$"
PerlSetEnv EMBPERL_OPTIONS 16
SetHandler perl-script
PerlHandler HTML::EmbperlObject
Options ExecCGI
</Location>
worked like a champ
Now. I noticed that DBD was not was not under my site/lib directory so I
went to http://www.activestate.com/PPMPackages/zips/6xx-builds-only/ and
download the DBD zip file and then did a ppm install of it.
I then edited the above info in my httpd.conf file to:
# The following is for HTML::Embperl
PerlSetEnv EMBPERL_DEBUG 1
PerlSetEnv EMBPERL_LOG "C:/Program Files/Apache
Group/Apache/logs/embperl.log"
PerlSetEnv EMBPERL_VIRTLOG "C:/Program Files/Apache
Group/Apache/logs/embperl.log"
PerlSetEnv PERL5LIB "C:/Projects/IRS/Apache/Perl"
PerlSetEnv EMBPERL_SESSION_CLASSES "MemoryStore NullLocker"
PerlModule HTML::Embperl
Alias /embperl/ "C:/Projects/IRS/Apache/htdocs/IRS/html/"
<Location /embperl>
#PerlSetEnv EMBPERL_OBJECT_BASE base.html
PerlSetEnv EMBPERL_FILESMATCH "\.html?$|\.epl$|\.phtml?$"
PerlSetEnv EMBPERL_OPTIONS 16
SetHandler perl-script
#PerlHandler HTML::EmbperlObject
PerlHandler HTML::Embperl
Options ExecCGI
</Location>
I then did apache -t and got an error complaining that it could not find
session.pm. So, I did
ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-Session.ppd
I then did apache -t and get the following errors:
Syntax error on line 991 of c:/program files/apache
group/apache/conf/httpd.conf
:
Cannot require Apache::Session::Store::MemoryStore at
C:/Perl/site/lib/HTML/Embperl/Session.pm line 204.
Compilation failed in require at (eval 4) line 3.
I also also noticed that if I move the following two lines under </Location>
I get memory referenced errors when ever I try to shut down apache:
PerlSetEnv PERL5LIB "C:/Projects/IRS/Apache/Perl"
PerlSetEnv EMBPERL_SESSION_CLASSES "MemoryStore NullLocker"
So, does anyone have an Ideal as to what is going wrong here? Or do I need
to provide more information.
...
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]