You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mário Gamito <mg...@telbit.pt> on 2007/03/09 10:18:45 UTC

[users@httpd] Error Redirecting

Hi,

Sorry for the lame question, but i'm not much of an Apache sysadmin.

Nevertheless, i've read the documentation and i think it should work.

My document root is /home/www

I want to make this redirect:

Redirect /horde http://webmail.telbit.pt/horde/imp

*Note that* horde and imp are in the same level in the directory.

What i get in the browser is:

http://webmail.telbit.pt/horde/imp/imp/imp/imp/imp/imp/imp/imp/imp/imp/(etc.)

Any help would be appreciated.

Warm Regards,
Mário Gamito

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


Re: [users@httpd] Error Redirecting

Posted by Mário Gamito <mg...@telbit.pt>.
Hi Vincent,

Vincent Bray wrote:
> On 09/03/07, Mário Gamito <mg...@telbit.pt> wrote:
>> I want to make this redirect:
>>
>> Redirect /horde http://webmail.telbit.pt/horde/imp
> 
> RedirectMatch ^/horde$ http://webmail.telbit.pt/horde/imp
> 
> You may like to add an optional slash to that, in which case the first
> argument becomes ^/horde/*$
Thanks a buntch.
It really did the trick (but only with ^/horde/*$).

Warm Regards,
Mário Gamito

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


Re: [users@httpd] Error Redirecting

Posted by Vincent Bray <no...@gmail.com>.
On 09/03/07, Mário Gamito <mg...@telbit.pt> wrote:
> I want to make this redirect:
>
> Redirect /horde http://webmail.telbit.pt/horde/imp

RedirectMatch ^/horde$ http://webmail.telbit.pt/horde/imp

You may like to add an optional slash to that, in which case the first
argument becomes ^/horde/*$
-- 
noodl

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