I am having problems configuring EmbPerl. I am trying to get embperl to run with
mod_perl. I followed the instructions, but
I can't seem to figure out the correct url. Here is my configuration for mod_perl and
embperl:
Alias /perl/ /usr/cgi-bin/<
<
PerlModule Apache::Registry<
<Location /perl><
SetHandler perl-script<
PerlHandler Apache::Registry<
Options ExecCGI<
PerlSendHeader On<
allow from all<
</Location><
Alias /embperl /usr/cgi-bin<
<Location /embperl><
SetHandler perl-script<
PerlHandler HTML::Embperl<
Options ExecCGI<
</Location><
PerlSetEnv EMBPERL_FILESMATCH \.html$<
PerlSetEnv EMBPERL_OPTIONS 16<
If I use the url of 24.147.91.6/cgi-bin/embpcgi.pl/~jlm/index.html it works, except
that non-html stuff still goes through
embpcgi.pl, which it isn't supposed to and images don't come out right.
If I use the url of 24.147.91.6/embperl/embpcgi.pl/~jlm/index.html I get this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might
have done that may have caused the error.
[1392]ERR: 13: Line 35: Missing right $]
Apache/1.3.19 (Unix) mod_perl/1.25 HTML::Embperl 1.3.1 [Sun May 6 11:05:11 2001]
I've tried other urls but they just come up as either not found or you don't have
permissions.
Any help will be greatly appreciated. Thanks.
--
MACINTOSH = Machine Always Crashes If Not The Operating System Hangs
"Life would be so much easier if we could just look at the source code." - Dave Olson
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]