Re: Thats it - Apache ship them wrong way round !!!
- so it seems !!!
As u said the format of the files will show when loaded by VI(m) & sure enough the *.zip file contains UNIX formatted text files & the *.gz file contains dos formatted text files.
This was my 1st suspicion but I was too dumbstruck to believe this is what Apache org would do - I still can't believe it as it must be causing a lot of people real grief. I had solved the problem a couple of months back (just forgot about it) & yesterday was mentoring one of my team in doing complete Linux installs (RH7.2, Apache, IBMHTTPServer, iPlanet, JRun, Tomcat, WebSphere, DB2 & Oracle)
When she hit this problem of the Tomcat scripts failing to be recognised at execution time, it seemed a familiar problem but my brain was locked on other issues & I couldn't page in the required memories (grin). Then late in the day brain kicked in & paged in memory of downloading *.zip version of Tomcat & that solved problem 1st time round. All I needed to round it off was to extract from deep store the memory of how to get vi to show ctl chars as was sure that was the reason.
Cheers
Doug