Apache/moved web page question

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Feb 26 21:31:38 UTC 2004


On Thu, Feb 26, 2004 at 04:05:46PM -0500, Madison Kelly wrote:
>   I have recently migrated my website which was in a user account to a 
> proper domain using Apache as the web server. I have the site up now 
> under the new domain and in a new directory and I would like to remove 
> the old website entirely. I have a redirect page on the index.html but 
> the problem is anyone with a bookmark to a deeper page will get a 404 
> error if I just remove the rest.
> 
>   Is there anyway to tell Apache to forward to a single html file any 
> request at all for a page in the user's website? I am on Apache2 now, as 
> well.
> 
>   Thanks as always!

A custom 404 handler script could do it.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list