httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <>
Subject Re: redirecting urls
Date Tue, 29 Jan 2002 11:05:51 GMT
Martin Moriarty wrote:
> Hi there
> Ive apache installed on a suse linux 7.2 box, and im about to declare the
> web server live this week. One problem i have though is in the url
> redirection . In the example below, j.burns directory no longer exists and
> is now held in the direcotry john ( ie the public_html direcotry of the user
> johnny). The directory johnny exists and the destination url exists. However
> if I try the redirect, I get no erroe after restarting. If I try to access
> j.burns it cant find it, and theses no error in the error log. Is there
> anything else I need to do for the redirection to be enabled

> #
> Redirect http://server2/~j.burns  http://server2/~johnny

You're not using "Redirect" correctly. The first argument is supposed to
be a decoded URL-path, i.e. the file that your server gets after it
decodes the URL. The second argument is a full URL. So, you should put:

Redirect /~j.burns http://server2/~johnny


Owen Boyle.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message