perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle Harbinson <>
Subject Setting up httpd.conf for EMBPerl
Date Tue, 28 Jan 2003 18:00:23 GMT

I have installed Mod Perl 1.27_01 along with Apache
1.3.27 and PHP 4.2.3 on a Win2000 system. Do I need to
download a specific EMBPerl module?

At the moment cgi scripts work fine, but embedded perl
files display perl code as text in my browser. I have
tried to alter my httpd.conf file to setup the alias
and handler for my 'embperl' directory, but don't
really know what I'm doing and can't find any
information on it anywhere.
I have the following section in my httpd.conf file:

LoadModule php4_module
AddType application/x-httpd-php .php4 .php .htm .php3
.inc .fire
AddType application/x-httpd-php-source .phps

<IfModule mod_perl.c>
# The following is for Apache::ASP
Alias /asp/ "C:/phpdev/www/asp/"
<Location /asp>
   Sethandler perl-script
   Perlhandler Apache::ASP
   PerlSetVar Global "/Windows/tmp"

# Apache::Registry scripts
PerlModule Apache::Registry
Alias /perl/ "C:/phpdev/www/perl/"
<Location /perl>
  Sethandler perl-script
  PerlHandler Apache::PerlRun
  Options +ExecCGI
  PerlSendHeader On

Alias /embperl/ "C:/phpdev/embperl/"
<Location /embperl>
 SetHandler perl-script
 PerlHandler HTML::Embperl
 Options ExecCGI

Is this sufficient?

Any help would be gratefully received


Kyle Harbinson

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message