Bill Barker wrote:
I'm mostly against it. It adds a lot of complexity that is more likely to
lead users to trying things that simply won't work. e.g.:
DirectoryIndex index.jsp index.html index.php
<LocationMatch *.jsp>
ProxyPass ajp://localhost:8009/
</LocationMatch>
Which will send all requests for an index page to Tomcat, even if there
isn't an index.jsp file present.
Is there a solution to this problem? This doesn't work:
DirectoryIndex index.cgir index.php index.html
<FilesMatch \.(cgi|cgir|php3|php)$>
RewriteRule ^/(.*)$ proxy:http://www-modperl:8888/$1
</FilesMatch>
index.cgir and index.php are returned un-proxied (although the proper
one is picked).
--
Mike Cramer
http://www.webkist.com/ | AIM: MikeWebkist