httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k5...@postpro.net
Subject [users@httpd] Re: enabling httpd v2.4's mod_proxy_fcgi + "ProxyPassMatch" breaks 'Index' display ?
Date Tue, 12 Jun 2012 19:54:23 GMT
Per chat in #irc, trying to narrow down on regex/wildcard problems, I'm
seeing confusing behavior -- note the cases (3) & (4), below, _switch_
what works & what doesn't.
 THere are more iterations to try, but it seems to be an issue with
 wildcard usage in the Match -- of some sort.

(1)
ProxyPassMatch ^/test/info\.php
fcgi://127.0.0.1:9000/srv/www/testhost/$1
	OK exec         http://myhost.com/test/info.php
	OK index        http://myhost.com/test/

(2)
ProxyPassMatch ^/test/.nfo\.php
fcgi://127.0.0.1:9000/srv/www/testhost/$1
	OK exec         http://myhost.com/test/info.php
	OK index        http://myhost.com/test/

(3)
ProxyPassMatch ^/test/.*fo\.php
fcgi://127.0.0.1:9000/srv/www/testhost/$1
	FAIL exec       http://myhost.com/test/info.php
		--------------------------------------------------------------
			<!--#set var="TITLE" value="Object not found!"
		--><!--#include virtual="include/top.html" -->
		
		    The requested URL was not found on this server.
		
		  <!--#if expr="-n v('HTTP_REFERER')" -->
		
		    The link on the
		    <a href="<!--#echo encoding="url" var="HTTP_REFERER"
		    -->">referring
		    page</a> seems to be wrong or outdated. Please
		    inform the author of
		    <a href="<!--#echo encoding="url" var="HTTP_REFERER"
		    -->">that page</a>
		    about the error.
		
		  <!--#else -->
		
		    If you entered the URL manually please check your
		    spelling and try again.
		
		  <!--#endif -->
		
		<!--#include virtual="include/bottom.html" -->
		--------------------------------------------------------------
	OK index        http://myhost.com/test/

(4)
ProxyPassMatch ^/test/(.*\.php(/.*)?)$
fcgi://127.0.0.1:9000/srv/www/testhost/$1
	OK exec         http://myhost.com/test/info.php
	FAIL index      http://myhost.com/test/
		---------------------------------------------------------------
		... same "Object not found!" as in Case (3), above
		---------------------------------------------------------------

Kat

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message