Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2009-11-01 13:56:32

andrixnet
New member
Registered: 2009-11-01
Posts: 3

Xinha filenames

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

#2 2009-11-10 07:16:26

andrixnet
New member
Registered: 2009-11-01
Posts: 3

Re: Xinha filenames

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

#3 2009-11-10 09:10:39

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Xinha filenames

Not fixable.  Your server is munted.  Get a better host.


James Sleeman

Offline

#4 2009-11-10 12:59:02

andrixnet
New member
Registered: 2009-11-01
Posts: 3

Re: Xinha filenames

That is sad. Though I suspected as much.

Unfortunately I cannot get a different webhosting service. Rules layed out by my superiors sad

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

Board footer

Powered by FluxBB