how to use rewritemap for mass virtual redirection

Using a single web hosting account to host multiple sites

how to use rewritemap for mass virtual redirection

Postby scorpion » Mon Sep 16, 2002 5:28 pm

Can someone post a simple code for an .htaccess file that retrieves a map file (say vhost.map) with domain-subdirectory pairs and redirects each domain in the file to the corresponding subdirectory?

Thanks, this has stumped me.
scorpion
 
Posts: 4
Joined: Tue Aug 20, 2002 7:08 pm

Postby Brett » Sun Oct 20, 2002 1:49 pm

I don't think you can do it using .htaccess alone.
The RewriteMap directive cannot be used in .htaccess.
Brett
 
Posts: 82
Joined: Tue Jul 10, 2001 4:00 pm
Location: yohost.com


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 3 guests

cron