What i have done is in the http.conf file uncomment both lines

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

after that in my httpd-vhosts.conf file that is use for my different vhost 
define on this server i add those line for testing ajp call :


<Location /exemples>
  ProxyPreserveHost On
  ProxyPass ajp://servername:ajpport/exemples
  ProxyPassReverse ajp://servername:ajpport/exemples
  Require all granted
</Location>

<Location /exemples/>
  ProxyPreserveHost On
  ProxyPass ajp://servername:ajpport/exemples/
  ProxyPassReverse ajp://servername:ajpport/exemples/
  Require all granted
</Location>


and when i try to access this page i got a 404 error

Stephane


________________________________________
De : Eric Covener [cove...@gmail.com]
Envoyé : 28 février 2017 12:20
À : users@httpd.apache.org
Objet : Re: [users@httpd] RE : [users@httpd]

On Tue, Feb 28, 2017 at 11:23 AM, Stéphane Laurencelle
<stephane.laurence...@momentum-tech.ca> wrote:
> when i look at apachectl -M, i don't see the ajp module load but i see the 
> proxy_mod module
> and when i try i get an error 404 in the apache log.
>
> i don't know where to look to debug the module not loading in apache.


If you uncommented a LoadModule for the AJP module, it wasn't in a
conf file being read by Apache.


--
Eric Covener
cove...@gmail.com

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


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

Reply via email to