I've been maintaining one of the all-in-one
binary packages for Win32 that contains Perl, Apache,
plus related modules, for some time:
http://perl.apache.org/docs/2.0/os/win32/install.html#All_in_one_packages
Since starting this, though, the standard ActivePerl and
Apache Win32 distributions have
I'd like to get a sense from Win32 ppm users of mod_perl
and/or libapreq2 about the following. Right now in our
http://theoryx5.uwinnipeg.ca/ppms/
ppm repository, there's ppm packages for mod_perl
and libapreq2. The ones compatible with Apache/2.0 are
called mod_perl and libapreq2, respectively
On 30-Oct-06, at 10:49 AM, Dave Viner wrote:
I'm trying to understand the full effect of the EnableSendfile
directive. If I set the directive to 'Off', what happens when I
invoke $r->sendfile($myfile) ??
My hope is that the $r->sendfile will simply use mechanism other
than sendfile() to
Peter,
>
> You can also temporarily disable SELinux by doing:
>
> echo '0' > /selinux/enforce
>
Bingo! That was it!
So, I don't see any SELinux configuration (within Webmin, at least). I need
to learn more about it ... How does one disable it at boot time? That would
be a good temporary solut
On Mon, 2006-10-30 at 15:02 -0800, Dave Viner wrote:
> Sorry for not being clear. Let me try again.
Actually, it's my mistake. I thought you were talking about
Apache2::Resource. Is that what you're looking for?
> The docs appear to say that RLimitCPU will not apply to httpd
> processes, onl
Sorry for not being clear. Let me try again.
I want to configure my server such that each process (httpd) which
services requests can consume only a set portion of CPU or memory. I
am using pure mod_perl... no cgi, no ssi, and i don't fork any process.
The docs appear to say that RLimitCP
On Mon, 2006-10-30 at 14:18 -0800, Dave Viner wrote:
> from reading the docs on RLimitCPU, http://httpd.apache.org/docs/2.0/
> mod/core.html#rlimitcpu , it looks like this applies only to procs
> that are _forked_ from apache, rather than the apache children.
I'm not following this. What's the
from reading the docs on RLimitCPU, http://httpd.apache.org/docs/2.0/
mod/core.html#rlimitcpu , it looks like this applies only to procs
that are _forked_ from apache, rather than the apache children. in
the case of modperl, the child proc is the service-er of the
request is there a con
SELinux is certainly included in RHEL 4 (though it is an option at install time whether it is enabled or not). Check your message log for avc failures. e.g.:kernel: audit(1162240773.996:667): avc: denied { write } for pid=23025 comm="httpd" name="dprof" dev=dm-0 ino=24282699 scontext=root:system
On Mon, 2006-10-30 at 12:47 -0700, Harry Plate wrote:
> *** Cannot open log file, Permission denied at /var/www/cgi-bin/test.pl...
[...]
> Note the folder and file permissions are wide open; so I would next expect
> that the unix fs is *not* the one that is complaining...
I think it probably is yo
> You ought to test if the file is really open first, and you will hopefully
> get a more helpful error message:
>
> open(LOGFILE, ">>junk.log") or die "Cannot open logfile, $!";
>
Good suggestion; so I add the "die" and I get the error:
*** Cannot open log file, Permission denied at /var/www/
what error is the open giving?
> open (LOGFILE, ">>junk.log") ;
open (LOGFILE, ">>junk.log")
or die "Couldn't open junk.log for appending : $!";
Also, it may be that somewhere LOGFILE is defined as a constant, and so
the bare filehandle LOGFILE is being interpreted as LOGFILE()
Rather use
You ought to test if the file is really open first, and you will hopefully
get a more helpful error message:
open(LOGFILE, ">>junk.log") or die "Cannot open logfile, $!";
Apache 2.0.52
Perl 5.8.5
I have 2 systems running identical perl software. One system is RedHat
Enterprise Linux 4, and the other is RedHat WS Linux 4.
The only issue that I am currently dealing with is the (in)ability to open
an existing log file in the folder /var/log from a .pl script:
open (
I'm trying to understand the full effect of the EnableSendfile
directive. If I set the directive to 'Off', what happens when I
invoke $r->sendfile($myfile) ??
My hope is that the $r->sendfile will simply use mechanism other than
sendfile() to read/send the given file (maybe allocate a buff
15 matches
Mail list logo