Yeah, I did need to copy the perl modules I needed, but that was no
big deal.
---
Israel Brewster
Computer Support Technician
Frontier Flying Service INC.
5245 Airport Industrial Rd
Fairbanks, AK 99709
---
Well, as it turned out, I didn't need to go that route after all. I
just needed to use the correct URL when accessing my perl scripts so
they would be executed using mod Perl. So it's working now, without
needing to copy or re-install perl.
---
Isr
It still needs modules, etc, at the very least while Apache starts (they
are usually cached in memory once intially loaded)
Issac
Serge Dubrouski wrote:
> modperl doesn't need to have perl installed because it has it
> embedded. Have you tried to put your script into your /perl directory
> and
Unfortunately, that's the price of a chroot... Remember to also install
all your Perl modules to the chroot jail for the same reasons...
Basically a separate install of Perl would be intelligent. If you want
some form of package management/uninstall for the new one, or even just
don't want to de
Ok- FINALLY got it working. Turns out I was bitten by the wording of
my http.conf- I had used a location directive to tell it to execute
using the perl_module for the location /perl, but then I was
accessing the script through /cgi-bin/perl (/cgi-bin/perl is aliased
to /perl) Once I tried a
Does this help: http://www.faqs.org/docs/securing/chap29sec254.html
- Original Message -
From: "Israel Brewster" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 11, 2007 5:11 PM
Subject: Re: [EMAIL PROTECTED] Simple perl question
Yeah, I'm coming to that conc
modperl doesn't need to have perl installed because it has it
embedded. Have you tried to put your script into your /perl directory
and run it using Apache::Registry? But most probably it'll have
problems anyway because it'll require perl libraries: CGI, strict,
etc... unless it's a really generic
Yeah, I'm coming to that conclusion. I didn't want to go that route,
and have two copies of perl on my system, but it is looking as though
that will be my best option
---
Israel Brewster
Computer Support Technician
Frontier Flying Service INC.
5245 A
CTED]>
To:
Sent: Wednesday, January 10, 2007 11:56 PM
Subject: Re: [EMAIL PROTECTED] Simple perl question
But with it I get a "file not found" error since it can't access /
usr/ bin/perl from within the chroot (/var/www). If that line
can't be removed, then apparently
On Jan 11, 2007, at 6:22 AM, Serge Dubrouski wrote:
DO NOT REMOVE that #!/usr/bin/perl line. Without it OS tries to run it
as a binary (ELF or whatever is appropriate for your systen ) file and
of course fails.
But with it, it can not find /usr/bin/perl (thanks to the chroot),
and, of course
DO NOT REMOVE that #!/usr/bin/perl line. Without it OS tries to run it
as a binary (ELF or whatever is appropriate for your systen ) file and
of course fails.
On 1/10/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
yeah, perl is not available at all from within the Apache chroot
jail, unless I am
it and it does start then is it perl
that is if failing to run the script because it is misconfigured in some
way?
- Original Message -
From: "Israel Brewster" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 10, 2007 11:56 PM
Subject: Re: [EMAIL PROTECTED] Simp
mod_perl sounds a bit excessive. Just make sure Perl is installed in
your chroot.
Issac
Serge Dubrouski wrote:
> For this configuration you need to have mod_perl installed on your
> server. Why don't you simply put your script into your cgi-bin
> directory?
>
> On 1/10/07, Israel Brewster <[E
yeah, perl is not available at all from within the Apache chroot
jail, unless I am missing something. Making the change to the
LoadModule line you suggested allowed the various perl directives in
the config file to load without complaint. Attempting to execute the
script, however, results i
So you don't have perl available at all? Then you definetely need
mod_perl. Have you tried to change your LoadModule line for mod_perl
like I suggested erlier?
On 1/10/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
But with it I get a "file not found" error since it can't access /usr/
bin/perl f
o:
Sent: Wednesday, January 10, 2007 11:06 PM
Subject: Re: [EMAIL PROTECTED] Simple perl question
I installed mod_perl from the package that was distributed with
OpenBSD 4.0. The install didn't give any errors, so I have to
assume it installed properly. As far as I can tell, it didn't
ma
/cgi-bin/ directory change its permissions to 775 and try
loading it into your browser using http://DomainName/cgi-bin/test.cgi
- Original Message -
From: "Israel Brewster" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 10, 2007 11:06 PM
Subject: Re: [EMAIL PROTECTED] Simple
But with it I get a "file not found" error since it can't access /usr/
bin/perl from within the chroot (/var/www). If that line can't be
removed, then apparently I can't run perl scripts under Apache with
Apache chrooted, even with mod_perl running properly-is that correct?
or do I just need
Do not remove #!/usr/bin/perl line! Without it OS doesn't know how to
run that file.
On 1/10/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
I installed mod_perl from the package that was distributed with
OpenBSD 4.0. The install didn't give any errors, so I have to assume
it installed properly.
I installed mod_perl from the package that was distributed with
OpenBSD 4.0. The install didn't give any errors, so I have to assume
it installed properly. As far as I can tell, it didn't make any
configuration changes. Just placing the script in my CGI directory
(and removing the #!/usr/bi
Sorry, didn't read your mail to the end. Try to replace
LoadModule mod_perl /usr/local/lib/mod_perl.so
With
LoadModule perl_module /usr/local/lib/mod_perl.so
On 1/10/07, Serge Dubrouski <[EMAIL PROTECTED]> wrote:
For this configuration you need to have mod_perl installed on your
server. Why d
For this configuration you need to have mod_perl installed on your
server. Why don't you simply put your script into your cgi-bin
directory?
On 1/10/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
I don't know if what I am trying to do here is even possible (sane?)
but I thought I'd ask. I am run
I don't know if what I am trying to do here is even possible (sane?)
but I thought I'd ask. I am running Apache 1.3.29 on an OpenBSD 4.0
system, with Apache chrooted to /var/www. I have a perl script CGI
(it has the .cgi extention, not .pl, but is actually a perl script)
that I need to run.
23 matches
Mail list logo