bonjour,
je dispose d'un projet web ecrit en java je veux faire une redirection d'apache vers tomcat sans passer par AJP .voiçi la configuration actuelle:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
<VirtualHost *>
ProxyRequests on
ProxyPreservehost on
ServerName www.test.fr
ServerAlias test.fr
ProxyPass / http://127.0.0.1:8807/test
<Proxy>
Order Allow,Deny
Allow from all
</Proxy>
</VirtualHost> |
le probleme ici c'est que je reçois une erreur 404
Etat HTTP 404 - /testtest/
je ne sais pas pourquoi il ya un double /test/test.
pourtant si je fais
1 2 3 4 5 6 7 8 9 10 11 12 13
| <VirtualHost *>
ProxyRequests on
ProxyPreservehost on
ServerName www.test.fr
ServerAlias test.fr
ProxyPass /test http://127.0.0.1:8807/test
<Proxy>
Order Allow,Deny
Allow from all
</Proxy>
</VirtualHost> |
ça marche.masi moi j'aimerai rediriger le nom de domaine test.fr et non pas test.fr/test
cdt
Partager