On Thu, 10 Dec 1998, Robert V. MacQuarrie wrote:

 : 
 : 
 : Sorry for the off topic question
 : 
 : Pretty much what the topic is.. how can you redirect a /~user and all the
 : subdirs to a new URL? It has to be possible but i have not found anything
 : other then simple file redirects. Again sorry for the completely off topic
 : question but as I stated, there doesnt seem to be any way to do this.

Something like this?  It rewrites "www.midco.net/~user" to
"home.midco.net/~user" ...

RewriteEngine on
RewriteRule ^/~(.+) http://home.midco.net/~$1 [R,L]

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]           http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)

Reply via email to