I've written an article about this but it's in Bulgarian and I hardly
doubt you could understand it.

Basically what I've done is this:
1. Copy the perl binary (and the libraries it uses) somewhere in the
chroot jail (following the respective paths of course).
2. pkg_add mod_perl. It modifies your httpd.conf so it would load mod_perl.

If you need to be able to run CGI scripts there's some additional
stuff to be done, let me know if you need it too.


Of course, this is the way I've done this, feel free to go another way.

Best regards,
Nikola Gyurov
Best regards,
Nikola Gyurov


On Tue, Apr 23, 2013 at 2:32 PM, sven falempin <sven.falem...@gmail.com> wrote:
> Hello,
>
> If I want to perform a httpS requests (with cookies) from mod_perl into
> chroot what would be the 'best' way ?
> use something like curl and copy it to the chroot ?
> use specific perl module ?
>
> Best regards :-)
>
> --
> ---------------------------------------------------------------------------------------------------------------------
> () ascii ribbon campaign - against html e-mail
> /\

Reply via email to