1.
Concept:
2.
3.
GET http://domain.tld/search/a/b/c (via :80)
4.
rewrite search/a/b/c ->
http://localhost:8080/perl/script?a=a&b=b&c=c [P] (via .htaccess
RewriteRule) [OK] (localhost:8080 is another apache w/mod_perl)
5.
proxy: http://localhost:8080/perl/script?a=a&b=b&c=c [OK]
6.
GET http://localhost:8080/perl/script?a=a&b=b&c=c via
(domain.tld:80) proxy-> [Server Error: on
apache2.0.54/mp2.0.1/perl5.8.7 via localhost:8080]
7.
Error:
8.
9.
[error] slurp_filename('/opt/apache2/perl/script.pl?a=a&b=b&c=c')
/ opening: (2) No such file or directory at
/opt/perl/lib/site_perl/5.8.7/i686-linux/ModPerl/RegistryCooker.pm
line 540
The rewrite works fine when not using mod_proxy. Mod_proxy seems to
split out the uri and vars correctly. When using mod_proxy... this is
what I get. Does anyone think this is an issue with mod_perl2?
Jon