If you want to use it with mod_perl, you don't need embpcgi.pl, just use the
url:

24.147.91.6/embperl/index.html

that will process the document

/usr/cgi-bin/index.html

thru Embperl

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

----- Original Message -----
From: "Jason M'Sadoques" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 06, 2001 5:20 PM
Subject: Problems configure embperl with mod_perl


> 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]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to