First off, I thought I would give a hint to anyone installing EmbPerl 2.0RC1 on SuSE 9.1, I had to make a symlink "embperl.so" to "Embperl.so" because of the way modules have to be added through /etc/sysconfig/apache2. I had to then add the following to the APACHE_MODULES variable in the /etc/sysconfig/apache2 file:

/usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi/auto/Embperl/embperl.so

Generally I am a fan of SuSE, but this was made much more difficult than it had to be.

Anyway, I have a quick question about Configuring EmbPerl 2.0RC1 on SuSE 9.1. I have set up the following:

1. Added embperl.so to the /etc/apache2/sysconfig.d/loadmodule.conf file using the above method (through SuSE's /etc/sysconfig/apache2 file).

2.  Added "use Embperl::Object" to startup.pl

3.  Added the following into my default-server.conf file:

PerlRequire /srv/www/test.scriptlink.org/bin/startup.pl

<Directory "/srv/www/test.scriptlink.org/htdocs">
       EMBPERL_OPTIONS 16
       EMBPERL_ESCMODE 0
       EMBPERL_DEBUG 0
       EMBPERL_APPNAME scriptlink
       EMBPERL_OBJECT_BASE BASE.ept
       AddHandler perl-script .epl
       AddHandler perl-script .html
       PerlHandler Embperl::Object
       AllowOverride AuthConfig
       Options Includes ExecCGI
       Order allow,deny
       Allow from all
</Directory>

I am wondering if that is the best place to put the "PerlRequire"? I am also wondering the above Directory settings are somehow worse than:

<Directory "/srv/www/test.scriptlink.org/htdocs">
       EMBPERL_OPTIONS 16
       EMBPERL_ESCMODE 0
       EMBPERL_DEBUG 0
       EMBPERL_APPNAME scriptlink
       EMBPERL_OBJECT_BASE BASE.ept
      EMBPERL_URIMATCH "\.html.?|\.epl$"
      SetHandler perl-script
       PerlHandler Embperl::Object
       AllowOverride AuthConfig
       Options Includes ExecCGI
       Order allow,deny
       Allow from all
</Directory>

I like using "AddHandler" instead of EMBPERL_URIMATCH. Any input would be greatly appreciated.

I have been reading through the Changes.pod file that came with Embperl 2.0RC1. What do the people in this list feel are the biggest chanages between Embperl 1 and Embperl 2? Gerald, is there a template I can use to start updating the online documentation for Embperl 2.0? What do you feel are the most crutial things to get updated in the documentation? Thanks.

Neal

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx



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



Reply via email to