(please include my return address in the reply.  For some reason I am unable
to receive mail from this news group at work - [EMAIL PROTECTED])
...

Hello all,
I am configuring a new web server for my application (it was running
locally).  I am running under Win2K.  I went and got the binary files that
has apache, perl, ssl, mod_perl.  Got that all set up and was able to bring
up the embperl example.  Now, the problem is that I am changing httpd.conf
so that it can be used for more than one project.  I copy over the parts of
the httpd.conf on my local box to the server.

When I run my app, I get the following error:
[2084]ERR: 26: Line 1: Logfile /tmp/embperl.log open error: No such file or
directory

What am I doing wrong.

Here is what I have in the httpd.conf:

# The following is for HTML::Embperl

#####################################################################
#/Apache/logs/embperl.log

SetEnv EMBPERL_DEBUG 10477
SetEnv EMBPERL_VIRTLOG /embperl/log

<Location /Apache/logs>
  SetHandler perl-script
  PerlHandler HTML::Embperl
  Options ExecCGI
</Location>


PerlModule HTML::Embperl
PerlSetEnv EMBPERL_DEBUG 1
PerlSetEnv EMBPERL_LOG /Apache/logs/embperl.log
PerlSetEnv EMBPERL_VIRTLOG /Apache/logs/embperl.log

Alias /embperl/ "/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>

# The following is for IRS project
Alias /IRS/ "/Apache/embperl/projects/IRS/html/"
<Location /embperl/projects/IRS/html>
   PerlSetEnv EMBPERL_SESSION_CLASSES "MemoryStore NullLocker"
   PerlSetEnv EMBPERL_OBJECT_BASE IRS_Login.phtml
   PerlSetEnv EMBPERL_FILESMATCH "\.html?$|\.epl$|\.phtml$"
   PerlSetEnv EMBPERL_OPTIONS 16
   PerlSetEnv PERL5LIB "C:/Apache/embperl/Projects/IRS/Perl"
   
   SetHandler perl-script
   PerlHandler HTML::EmbperlObject
   Options ExecCGI FollowSymLinks     
</Location>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to