Forum Moderators: phranque
This is our correct URL:
http://www.example.com/Folder_One/Folder_Two/index.html
The following cases work fine because only the right most file needs to be modified:
http://www.example.com/folder_one/ redirects to http://www.example.com/Folder_One/
http://www.example.com/Folder_One/folder_two redirects to http://www.example.com/Folder_One/Folder_Two
But these give me a 404:
http://www.example.com/folder_one/folder_two/index.html
http://www.example.com/folder_one/Folder_Two
Any help at all will be greatly appreciated!
Thanks.
[edited by: jdMorgan at 11:37 pm (utc) on May 24, 2008]
[edit reason] Use example.com please. [/edit]
Best practice to avoid this problem --and the huge problem you'll realize when you try to correct this with mod_rewrite-- is to always use all-lowercase filepaths. If you have access to the server config, and use a RewriteMap to implement the tolower server function, you can mix case on URLs, but not on filepaths.
Jim
mod_speling corrects only single or minor errors
But it will usually fix casing pretty well, including stuff like www.example.com/test/folder-name/ to /Test/Folder_Name/. I wonder if something else might be at work here.
Jim
[edited by: jdMorgan at 8:22 pm (utc) on May 29, 2008]
But anyway, glad you got it working!
Jim