perl-embperl mailing list archives

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

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:

##PHPDEV4.a.bit##
##PHP MODULE##
LoadModule php4_module
C:/phpdev/php/sapi/php4apache.dll
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"
</Location>

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

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

Is this sufficient?

Any help would be gratefully received

Thanks

Kyle Harbinson

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message