Re: enabling httpd v2.4's mod_proxy_fcgi + "ProxyPassMatch" breaks 'Index' display ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux