Hi David,
Perhaps Embperl can't create the log file(s) you've told it to create and
it's defaulting to trying to create /tmp/embperl.log (the default log file).
I suggest you check the permissions on all the log files you're providing it
and make sure the user running the web server can create and write to them.
Alan
----- Original Message -----
From: "Boyd, David" <[EMAIL PROTECTED]>
To: "EmbPerl News Group (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 12:41 PM
Subject: Problem with log file
(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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]