Archive of UserLand's first discussion group, started October 5, 1998.

Re: Unicase vs Case-sensitive filenames

Author:Henri Asseily
Posted:11/4/1999; 11:33:19 AM
Topic:A question for Apache gurus
Msg #:12718 (In response to 12713)
Prev/Next:12717 / 12719

If you make all .html as-is files, then for all the html files you need to put the header info at the top of the file and that won't be good. Best thing to do is to use mod_rewrite and use regular expressions to redirect to the right place. Alternatively, you could write a Frontier script that goes through the whole structure of your site, looks at all the files that are RAW and prints to a output file:

RAW_file_path Redirected_file_path

Then when you move the whole site to Linux, you write a Perl script that reads that output file and for each line: 1- deletes the RAW file 2- If the Redirected file is on the same machine, creates a symlink (alias/shortcut) with the name of the RAW file, pointing to the redirected file. If the Redirected file is on another machine, create a .asis file with the redirect info.




This page was archived on 6/13/2001; 4:53:21 PM.

© Copyright 1998-2001 UserLand Software, Inc.