|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
Has anyone installed mod_perl
...and had it work successfully with the stock 1.3.29 Apache?
Like so? Code:
Alias /perl/ /home/httpd/perl/ PerlModule Apache::Registry <Location /perl> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI allow from all PerlSendHeader On </Location> |
|
|||
Thanks; I have been able to get cgi-bin scripts to run (using mod_cgi of course) and have copied over Perl and required libraries so that I do not need to use httpd -u, but to no avail yet.
|
|
||||
Have you been able to run a simple perl script (blah.pl) from /var/www/cgi-bin ? I realize you say you have using mod_cgi, but I got this following script running with just the vanilla install of mod_perl... am I missing something from your description?
I did the following- Code:
# pkg_add mod_perl-1.30p1 # apachectl stop # /usr/local/sbin/mod_perl-enable # apachectl start # cd /var/www/cgi-bin/ # nano mp-rules.pl Code:
#!/usr/bin/perl print "Content-type: text/plain\r\n\r\n"; print "mod_perl rules!\n"; Code:
# chmod 777 mp-rules.pl Are you not getting the same love?
__________________
Network Firefighter Last edited by ai-danno; 22nd June 2008 at 06:45 PM. |
|
|||
Quote:
Did you also add .pl to the 'AddHandler cgi-script' section in your httpd.conf? Curious how this could work. I've tried 'AddHandler perl-script .pl' in addition to the directory 'SetHandler perl-script', but nothing. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pre-installed Groups: What are they for? | Greg_Morgan | OpenBSD General | 5 | 11th October 2009 01:05 AM |
Listing of installed packages | cyril | OpenBSD Packages and Ports | 2 | 9th June 2009 01:24 AM |
How to copy FBSD installation from one which is already installed on a HDD? | padmanabh | FreeBSD Installation and Upgrading | 2 | 7th October 2008 04:09 AM |
Installed 4.3 & No GUI | warriors | OpenBSD General | 24 | 14th August 2008 11:28 AM |
mod_perl and others | daemon-dd | FreeBSD General | 0 | 25th June 2008 10:34 AM |