linux vs windows filenaming... on a web server...

blakerwry

Storage? I am Storage!
Joined
Oct 12, 2002
Messages
4,203
Location
Kansas City, USA
Website
justblake.com
Hey guys... I am trying to lessen the number of 24x7 computers in my room from 4 to 2-3.

In the beginning I had a web server(486dx2) and my main PC... The web server was getting pretty old and I wanted to experiment with linux.. so a new computer was born.... Christmas came around l a few months ago and thus a new computer, the Shuttle SB51G, sprouted up.

This leaves me with alot of heat and more noise than I care for... when i got the linux box running i wanted to get rid of the 486... however that didn't work. The file names in my html files sometimes have incorrect case.. leading to missing pictures and dead links unless I keep them on the 486. I have >80 html files on this site...

The solution I worked up was to host the site on the linux box, and use a windows share to allow the linux box to grab the files from the 486. The windows share aparently doesn't care about the case of the file names, so the site runs well this way... however, I would like to be able to get things over to linux box completely.

Other than editing and double checking almost 100 html files by hand, is there an easy solution to this problem?

if i used a FAT16 partition in linux would it still care about case? Is there a way to turn off case sensitivity on mounts or directories?

thanks,
-Blake
 

Mercutio

Fatwah on Western Digital
Joined
Jan 17, 2002
Messages
21,607
Location
I am omnipresent
Filename conversion is a fairly simple procedure. You can do it yourself with maybe 5 lines worth of shell script, or - if you look on freshmeat.net, someone has probably done it for you.
 

Fushigi

Storage Is My Life
Joined
Jan 23, 2002
Messages
2,890
Location
Illinois, USA
I thought most web servers had a config option to ignore filename case.

Anyway, if you know a Windows/Mac user with DreamWeaver you can do your site updating with a simple search/replace that spans the entire site. It also has nice features like if you rename a single file it'll update all references in your entire site to use the new name automatically. Not all products from Macromedia are evil.

- Fushigi
 

blakerwry

Storage? I am Storage!
Joined
Oct 12, 2002
Messages
4,203
Location
Kansas City, USA
Website
justblake.com
Mercutio said:
Filename conversion is a fairly simple procedure. You can do it yourself with maybe 5 lines worth of shell script, or - if you look on freshmeat.net, someone has probably done it for you.


The problem is that alot of the files are mixed case... so the easiest script would make each file lower case and then make each <a> and <img> source name lowercase... but i'll check it out.
 

blakerwry

Storage? I am Storage!
Joined
Oct 12, 2002
Messages
4,203
Location
Kansas City, USA
Website
justblake.com
Fushigi said:
I thought most web servers had a config option to ignore filename case.

Anyway, if you know a Windows/Mac user with DreamWeaver you can do your site updating with a simple search/replace that spans the entire site. It also has nice features like if you rename a single file it'll update all references in your entire site to use the new name automatically. Not all products from Macromedia are evil.

- Fushigi


I'll check the 1st option out too... i dont like any programs modifying my code... but I'll check out dreamweaver as well.. any specific version?
 

Fushigi

Storage Is My Life
Joined
Jan 23, 2002
Messages
2,890
Location
Illinois, USA
blakerwry said:
I'll check the 1st option out too... i dont like any programs modifying my code... but I'll check out dreamweaver as well.. any specific version?
Any version of DW will suffice. DW's strength with regard to what you're doing is most likely the overall site management. Dunno if the $ is worth it. I believe there is a 15 or 30 day free download/trial.

There are lots of other editors that can do global search/replaces; I think Arachnophilia can and its freeware (not to mention the author is anti-MS).

- Fushigi
 

blakerwry

Storage? I am Storage!
Joined
Oct 12, 2002
Messages
4,203
Location
Kansas City, USA
Website
justblake.com
i dont think global search/replaces would help me much...

the problems stem from variations from page to page and the content on that page...

The things the pages have in common have already been made onto an easy to modify template... and that template is correct... so the things that are individual to each page are what need changing.

so is dreamweaver going to help me here?
 
Top