there may be another alternative, but it's elegance depends on the question if your old urls and your new urls can be searched / replaced by some sort of a pattern. The feature is Apache's URL rewriting, using mod_rewrite.and it is quite funky. You can use regular expressions to do the search/replace.

http://www.engelschall.com/pw/apache/rewriteguide/

...Niels



Shawn wrote:

er... I think the custom 404 does the trick... and simple to implement too.
I knew I shoulda dug deeper before posting...

Thanks anyways.  Though I'd still be interested to hear if there are more
elegant ways to do this....

Shawn

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Shawn
Sent: Wednesday, March 31, 2004 10:20 PM
To: CLUG
Subject: [clug-talk] Apache Redirections for unknown links?



Hi gang.  I'm noticing some 404's on my Apache server.  When I investigated,
I discovered they are resulting from old links that don't exist anymore (but
still appear on Google).  I think I remember seeing a way to configure
Apache to redirect 404 messages, but am missing the details.  Do I just need
to build a generic "The file cannot be found" page and setup a custom 404
message?  For most of the 404's, the actual pages/articles still exist, but
have been moved or renamed.  Is there a quick and easy way to point these
bad requests to the correct address?

If the custom 404 message is the best choice, any tips on how to go about
that? (I'm googling on this as well..)  Thanks.

Shawn


_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca


_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca




_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to