You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Herring <da...@netfm.org> on 2014/05/14 20:32:44 UTC

[users@httpd] AH01144: No protocol handler was valid for the URL ...

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

Re: [users@httpd] AH01144: No protocol handler was valid for the URL ...

Posted by David Herring <da...@netfm.org>.
Thank you .... correct answer... yes how stupid I feel.

Thanks again,
Dave


On 17 May 2014 06:49, Falco Schwarz <hi...@falco.me> wrote:

> 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 <da...@netfm.org> 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
>
>


-- 
David Herring

Re: [users@httpd] AH01144: No protocol handler was valid for the URL ...

Posted by Falco Schwarz <hi...@falco.me>.
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 <da...@netfm.org> 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