email du travail wrote:

Bonjour,

Comment peut on faire de l'url rewriting avec apache 1.3.26 ?

Si on ne peut pas est ce qu'il y un moyen autre pour arriver a changer
les info dans l'url ?

Cordialement

Il faut ajouter dans modules.conf :

LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so

Puis dans http.conf

<VirtualHost *>
   ServerName toto.mamachine

   RewriteEngine on

   RewriteRule   ^/(.*)                  http://localhost:9999/$1  [P,L]

   ProxyPassReverse  / http://localhost:9999/
</VirtualHost>

renvoie tout ce qui arrive sur http://toto.mamachine vers http://localhost:9999

Jo


Répondre à