View Single Post
  #2 (permalink)  
Old 08-27-2007, 11:32 AM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,657
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: 301 redirect of .doc files

I think the problem may be with the filenames. spaces and parenthesis are not allowed in URLs, and are replaced with %20 for spaces, not sure offhand about parens. The redirect code for Apache also should not contain spaces in the urls. You will notice that spaces in redirect lines are used to seperate the old address from the new one - apache has no way of knowing where the old address ends and the new one begins.

You can try adding %20 to replace the spaces in the URLs at least. You may also want to look into changing the filenames to something a bit more server friendly, as well as converting the files to PDF format, because if the target of these documents is home users or patients, they may not have MS Word.
__________________
The best way to learn anything, is to question everything.
Reply With Quote