Hi,
I would like to use EmbPerlObjects. I'm using a virtual host, so I
can't change the general Apache config because that would mess up the
current "master plan" for all virtual hosts, says the server
administrator.
As an alternative to the <Location> directive in the Docs. He said
possibly: "You may be able to do something similar, using a
<FILESMatch> directive in
a .htaccess file.
http://www.apache.org/docs/mod/core.html#filesmatch
<FilesMatch "\.(epl|htm?)$">
PerlSetEnv EMBPERL_OBJECT_BASE base.htm
PerlSetEnv EMBPERL_FILESMATCH "\.htm.?|\.epl$"
SetHandler perl-script
PerlHandler HTML::EmbperlObject
Options ExecCGI
</FilesMatch>"
I don't know much about configuring .htaccess and don't want to mess it
up. Has anybody else solved this one?
Thanks,
Marcus Friedlaender
I would like to use EmbPerlObjects. I'm using a virtual host, so I
can't change the general Apache config because that would mess up the
current "master plan" for all virtual hosts, says the server
administrator.
As an alternative to the <Location> directive in the Docs. He said
possibly: "You may be able to do something similar, using a
<FILESMatch> directive in
a .htaccess file.
http://www.apache.org/docs/mod/core.html#filesmatch
<FilesMatch "\.(epl|htm?)$">
PerlSetEnv EMBPERL_OBJECT_BASE base.htm
PerlSetEnv EMBPERL_FILESMATCH "\.htm.?|\.epl$"
SetHandler perl-script
PerlHandler HTML::EmbperlObject
Options ExecCGI
</FilesMatch>"
I don't know much about configuring .htaccess and don't want to mess it
up. Has anybody else solved this one?
Thanks,
Marcus Friedlaender