You are not logged in.
Pages: 1
I was trying Xinha and I hit a filename problem.
I am running several websites. They are hosted on *nix machines with apache. Evidently, filenames are case senzitive.
However, the server enforces the following policy : all filenames uploaded to the webspace are set to lowercase.
The reason for this a to ensure a uniform environment for files uploaded from Windows machines, which is case insensitive to filenames, but the way a filename is displayed and how it actually is named is total chaos. Thus the need for this rule.
Xinha uses mixed case filenames, like "XinhaCore.js". This gets converted to "xinhacore.js".
Just changing the <script src=... tag is not enough. Everything breaks. Examples included.
Please help, how can I use Xinha when all filenames of it's installation are lowercase ?
Offline
Is there no workaround the sensitive mixed case filenaming scheme ?
Unfortunately I only know basics about JS and this package is too complex for me.
And besides, I think there should be a way of doing this that can be used consistently with version changes, rather then manually hack at the code a lot each time a new version comes out.
Thank you.
Last edited by andrixnet (2009-11-10 07:22:48)
Offline
That is sad. Though I suspected as much.
Unfortunately I cannot get a different webhosting service. Rules layed out by my superiors
It is the first significant web project that I know of which fails on account of mixed case file naming.
IMO, mixed case naming conventions as coding style is a good ide and I support it.
But when it comes to filenames, sooner or later environment specifics will give headaches. I had my fair share of such headaches, so I tend to agree with our sysadmin's rule about all filenames lowercase.
Anyway, thank you for your answer.
Offline
Pages: 1