Hi all,
We have an existing windows folder that is web based. All html that has links to various html files, PDF files, you name it. It’s really big. This Folder which we run on a Windows Server, works great for all our Windows users... However we would like to migrate it over to an existing Linux server as reference.
The problem is, when the entire html was designed, the Word Docs were designed, the Excel Docs were designed etc. They used spaces in the file names. Now I know this can result in a Linux problem but I'm not sure if that’s the exact problem.
When we attempt to load these pages on the Linux server we get page cannot be found errors left and right. For example:
For some reason, in Linux the last slash always gets reversed from the other, causing our paths to be invalid.
Now I could go change the HTML etc... I could go rename all the doc files. I could rename everything, all the excel links etc. But very time consuming.
Does anyone know if there is anything I could do? Why this is happening? A batch rename for the whole site? Something quicker? A work around?
Thanks so much!
Chris
We have an existing windows folder that is web based. All html that has links to various html files, PDF files, you name it. It’s really big. This Folder which we run on a Windows Server, works great for all our Windows users... However we would like to migrate it over to an existing Linux server as reference.
The problem is, when the entire html was designed, the Word Docs were designed, the Excel Docs were designed etc. They used spaces in the file names. Now I know this can result in a Linux problem but I'm not sure if that’s the exact problem.
When we attempt to load these pages on the Linux server we get page cannot be found errors left and right. For example:
Code:
In Windows the HTML file will look like:
<a href="a%20folder\another%20folder\index.htm">The Index</a>
When the link is highlighted in a web browser, the path that appears is:
"c:/a folder/another folder/index.htm" and works
In Linux the HTML file will look like:
<a href="a%20folder\another%20folder\index.htm">The Index</a>
when the link is highlighted in a web browser, the path that appears is:
"/usr/chris/a folder/another folder\index.htm"
Now I could go change the HTML etc... I could go rename all the doc files. I could rename everything, all the excel links etc. But very time consuming.
Does anyone know if there is anything I could do? Why this is happening? A batch rename for the whole site? Something quicker? A work around?
Thanks so much!
Chris