Hello, My config: proxy server: Apache 2.2 real server: Apache 1.3 (2.2 soon) I would like to reverse proxy requests to userdir (public_html) like that: http://proxy.domain.fr/~username --> http://realserver.domain.fr/~username Thoose directives work for that particular 'username': PassProxy /~username http://realserver.domain.fr/~username PassProxyReverse /~username http://realserver.domain.fr/~username But i would like to generalized to all users: PassProxy /~(.*) http://realserver.domain.fr/~$1 PassProxyReverse /~(.*) http://realserver.domain.fr/~$1 But PassProxy and PassProxyReverse don't process regex... So I tried rewriting: RewriteEngine On RewriteRule ^/\~(.*) http://realserver.domain.fr/~$1 [proxy,last] But if the trailing slash is forgotten the realserver redirect the request: http://proxy.domain.fr/~username --> http://realserver.domain.fr/~username redirection to http://realserver.domain.fr/~username/ The real server is not visible from the internet so the request fails.The solution could be that the proxy server does the trailing slash redirection instead of the real server. But '~username' is not a directory for the proxy server so no trailing slash redirection is done...
How to force the redirection on the proxy? Is there a solution to my problem? Thanx, Manu. -- Emmanuel Leguy LIFL - UMR8022 CNRS - Bat M3 Tel: +33 3 28 77 85 32 USTL - Universite de Lille 1 Fax: +33 3 28 77 85 37 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE mailto:Emmanuel.Leguy@xxxxxxx http://www.lifl.fr/ANNUAIRE/employee.php?login=leguye Ce mail est signe par un certificat X509 fourni par le CNRSLa verification de ce certificat peut etre faite a l'adresse suivante: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx