On 5/9/07, The Gaijin <[EMAIL PROTECTED]> wrote:
Dave Henderson wrote:
> Gang,
>
>     I am pulling my hair out over this.  I am trying to redirect the
> browser so if a user were to type in something like:
> www.domain.com/fun it would redirect to
> www.domain.com/games/default.html.  I have tried Alias's, redirect and
> RedirectMatch statements with no luck.  Any help would greatly be
> appreciated.
>
> Thanks,
>
> Dave
RewriteRule ^/fun$ http://www.domain.com/games/default.html [R]

May not be the only or best way, but should work a treat.

That's fine, but to avoid mod_rewrite you can use simply
Redirect /fun http://www.domain.com/games/default.html
or
RedirectMatch ^/fun$ http://www.domain.com/games/default.html
if you want to be more restrictive.

Joshua.

---------------------------------------------------------------------
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