On Sun, 2007-08-19 at 01:04 +0700, Vincent Bray wrote:
> On 18/08/07, Suhaib Ahmad <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > For my website i want to implement url rewriting. I'm unable to create
> > a RewriteRule
> >
> > which when given url: http://myUser.domain.com/
> > convert it to http://www.domain.com/action?id=myUser
> 
> What is the purpose of altering the hostname? Are you proxying the
> resulting URL, or perhaps confusing mod_rewrite's capabilities?
> 

Eh, wouldnt it just be better to use a vHost that redirects to the
proper place? it wouldnt be hard to write a script that does basically
this:

<code beeatch> 

echo "This page Has been mobbed. please wait while we transfer you..."
header("location", "http://www.mydomain.com/action?id="; . [code Here to
split out the user id]);


</code Beeatch>
-- 
Morgan Gangwere <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to