On 8/15/05, Joshua Slive <jslive@xxxxxxxxx> wrote: > Try something like > RewriteCond ${MyMap:%{HTTP_HOST}|not-found} !=not-found > RewriteRule (.*) http://${MyMap:%{HTTP_HOST}}$1 You can save yourself one map lookup with: RewriteCond ${MyMap:%{HTTP_HOST}} ^(.+)$ RewriteRule (.*) %1/$1 [P] Krist -- krist.vanbesien@xxxxxxxxx Solothurn, Switzerland --------------------------------------------------------------------- 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