[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Upper Case



"Richard Sidlin" <dns@xxxxxxxxxxxxxxxxx> wrote:
> One of my customers has provided me with a 60MB website that I have
> already uploaded. Problem appears to be upper case. When I changed
> index.html to lowercase, this page appeared but it can't link to the
> other pages in uppercase. Is there a simple way out of this?

Yes.  Solution 1: do not change the file names to lower case.  *nix systems
are case sensitive, but upper case characters are recognized so no change is
necessary.  Solution 2: if the only part of the filename/path that is
uppercase is the extension, then you can just use a search/replace program
like rpl from laffeycomputer.com.  Solution 3: write a script that loops
through every file and converts the offending text to lowercase.  This is
only necessary if the file (and even worse the file path) includes uppercase
you would need somewhat complex regular expressions.  If you give specific
examples of what you're facing we may be able to help a little better.  For
example I do not know which of the following the site's HTML files contain:

index.HTML
INDEX.HTML
/something/index.HTML
/something/INDEX.HTML
/SOMETHING/index.html
/SOMETHING/Index.html
...

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/