You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Matus UHLAR - fantomas <uh...@fantomas.sk> on 2011/01/10 08:19:45 UTC

Re: [users@httpd] New to list - Redirect, Alias or Rewrite?? Very confused...

On 04.01.11 11:59, doug@aiphone.com wrote:
> I am attempting to have the Apache Server 2.0 handle the following request
> for me:
> 
> When a visitor visits http://mydomain.com/OLD_Web App/, I would like them
> to be automatically redirected to http://mydomain.com/New_Web App/
> 
> Both OLD and NEW Web App folders live in the same doc root and are at the
> same level in the folder tree - ie right off of root.
> 
> I have tried both Alias commands and Redirect commands and nothing seems to
> work.

what exactly did you try? show us the directives.

Actually all those directives should work somehow, but I prefer Redirect for
such cases.

> I have restarted Apache on each change.

reload, even graceful, should be enough.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org