You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Erik Browaldh <er...@pool.informatik.rwth-aachen.de> on 2003/07/21 18:22:21 UTC
problems with Perl under windows, apache
Hello!
I have a script under windows with apache that doesnt seems to work. The
script is reading a log-file
and writing new information. But when trying it over internet, my skript
does not
do any changes to the log-file. (ie its only replacing the last entry
instead of increasing the list)
By now I have to say that when trying my script under unix, apache as
localhost, the script is working
perfectly.
Perhaps these may be clues...:
the perl-skript is executed under: C:/WEB/Apache/..../perl/log.pl (the
logfile is r/w from this DIR aswell)
chmod is already set for more users.
and Im using file-lock when reading the file and later on writing in it.
I use a refresh-function, called every 5th min.
use POSIX 'strftime';
$delay = 300;
....
..
print "Refresh: ", $delay, "\n";
Maybe the cache is used for updating the log-file instead of taking
updates from the html-formula?
but why and how do I change that?
any configurationhelp or hints are welcome!
Erik
Re: problems with Perl under windows, apache
Posted by Perrin Harkins <pe...@elem.com>.
On Mon, 2003-07-21 at 12:22, Erik Browaldh wrote:
> I have a script under windows with apache that doesnt seems to work.
Are you running it under mod_perl? If so, please tell us if it's
mod_perl 1 or 2, and include the info listed at the "report problems"
link on http://perl.apache.org/. We really can't guess much without
seeing your code.
- Perrin