Re: AH01144: No protocol handler was valid for the URL ...

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

 



Hi Dave,

you are trying to proxy to a fcgi backend so you need to enable the proxy_fcgi_module.

Falco

On 17 May 2014, at 02:59, David Herring <dave@xxxxxxxxx> wrote:

Excuse if this got sent twice...not sure I had been accepted to list first time I sent this.

Hi,

Trying to setup apache with php-fpm, using apache 2.4.7 with the event mpm, on Ubuntu 14.04. Get error in apache error.log:-

[Mon May 12 23:00:14.074848 2014] [proxy:warn] [pid 5735:tid 140529668888320] [client 127.0.0.1:47128] AH01144: No protocol handler was valid for the URL /xxx/c2p.php. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

Read about this, and have enabled both proxy and proxy_http modules - see list below. Not sure what to do to fix this, or to get more debug information ? 

Happy to provide any further details to help debug this, any help very much appreciated,

Dave

Line from apache conf file for this server is....

ProxyPassMatch ^/xxx/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/home/dave/sandbox/c2p/prod/$1


And these are the modules that are enabled....

root@PenguinWee4:/home/dave# apache2ctl -M
Loaded Modules:
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 access_compat_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 filter_module (shared)
 mime_module (shared)
 mpm_event_module (shared)
 negotiation_module (shared)
 proxy_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
 status_module (shared)
--
David Herring

[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