Re: Issues with UDS support for mod_proxy in trunk

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

 



It looks like its using the generic reverse proxy worker... I'll take a look.
On Nov 5, 2013, at 2:02 PM, ryo takatsuki <ryotakatsuki@xxxxxxxxx> wrote:

> Hi,
> 
> A month ago I checked the new UDS (Unix Domain Sockets) support and it worked properly (I need to tweak it a little bit for my needs). The syntax at that point was:
> 
> ProxyPassMatch ^(.*\.php(/.*)?)$ fcgi://uds=%2ftmp%2fsomedir%2fphp%2fvar%2frun%2fsocket.sock/$1
> 
> Today I checked the latest changes included and discovered the syntax was changed a couple of times since the version I was using so I rebuilt it and gave it a try without luck. The code I'm using now is:
> 
> ProxyPass / unix:/tmp/somedir/php/var/run/socket.sock|fcgi://
> 
> And I'm receiving the below error:
> 
> "No protocol handler was valid for the URL /x2crm/index.php. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule."
> 
> Enabling trace8 debug level I see some interesting messages (I removed the date and pid info for simplicity):
> 
> proxy_util.c(1925): *: found reverse proxy worker for unix:/tmp/somedir/php/var/run/socket.sock|http://localhost//foo/index.php
> mod_proxy.c(1100): AH01143: Running scheme unix handler (attempt 0)
> mod_proxy_fcgi.c(944): AH01076: url: unix:/tmp/somedir/php/var/run/socket.sock|http://localhost//foo/index.php proxyname: (null) proxyport: 0
> mod_proxy_fcgi.c(950): AH01077: declining URL unix:/tmp/somedir/php/var/run/socket.sock|http://localhost//foo/index.php
> mod_proxy_scgi.c(510): AH00865: declining URL unix:/tmp/somedir/php/var/run/socket.sock|http://localhost//foo/index.php
> mod_proxy_wstunnel.c(326): AH02450: declining URL unix:/tmp/somedir/php/var/run/socket.sock|http://localhost//foo/index.php
> mod_proxy_ajp.c(708): AH00894: declining URL unix:/tmp/somedir/php/var/run/socket.sock|http://localhost//foo/index.php
> mod_proxy_connect.c(227): declining URL unix:/tmp/somedir/php/var/run/socket.sock|http://localhost//foo/index.php
> mod_proxy_ftp.c(1011): declining URL unix:/tmp/somedir/php/var/run/socket.sock|http://localhost//foo/index.php - not ftp:
> [proxy:warn] AH01144: No protocol handler was valid for the URL /foo/index.php. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
> 
> Where it seems it is trying to find a handler for unix: protocol, where it is only the socket definition. 
> 
> I tried many other combinations as well as reverting to the previous syntax modification but I could not make it work. 
> 
> Does anyone have a working example using sockets in trunk or knows what is going on on my side?
> 
> Thanks a lot.
> 
> 
> 
> 
> 
> 


---------------------------------------------------------------------
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