Dear All,

I'm having some trouble configuring apache to recongnise embperl files that
are executed after a rewrite.  I've got this working with some configs but
not others - but haven't been able to work out what the difference is.

The standard way to configure does work, in that if I have this

<FilesMatch "epl$">
  SetHandler perl-script
  PerlHandler HTML::Embperl
  Options ExecCGI FollowSymLinks
</FilesMatch>
AddType text/html .epl

So, obviously the request for http://severname/filename.epl does the right
thing

But if I put a rewrite rule like this in

RewriteEngine on
RewriteRule ^/foo$ http://servername/foo [L]

I get the raw code for filename.epl instead of it being parsed by Embperl.
I do have this setup working as intended on some servers but not on another
- anyone know what I might be doing wrong?  Possibly there's some extra
thing I need which I (unknowlingly) have on one server but not on another?
Should the above work?

Thanks for any help

Mike

http://www.iii.co.uk 
Ample Interactive Investor is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor
Ltd, is regulated by the SFA.

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

Reply via email to