Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CF on Linux, conversion from Microsoft 1

Status
Not open for further replies.

Ghost

MIS
Oct 5, 1999
306
CA
We run a web application with about 5 million page views per month (pretty busy) on a Microsoft platform (NT server, SQL Server, etc.... We've been with ColdFusion/Allaire since version 4.

We're looking at moving to the CF Linux version and moving away from Microsoft. Would people recommend this? Have you made the move or do you run Linux now?

How has it gone? Any major potholes besides some capitalization syntax issues?

Thanks for any pointers.
 
the biggest thing you're going to run into is case sensativity. windows is caseless so it doesn't matter what you call your files but in linux it's very perticular.

for example

<cfinclude template = "MYTEMPLATE.CFM">

if the actual file name is "myTemplate.cfm" your include file will not be found.

also there are some (can't think of any of hand but i know i've seen them) tags with notes "this doesn't work or this is different on NON-Microsoft systems" so you may have a few tag compatibility issues. also your application.cfm file MUST start with capital "A" (Application.cfm)

If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.

-Quote by Edward Hodnett
 
...also your application.cfm file MUST start with capital "A" (Application.cfm)
Really? Wow, that's good info! I never knew that, I'll have to keep it mind in case I move to Linux.



Hope This Helps!

ECAR
ECAR Technologies, LLC

"My work is a game, a very serious game." - M.C. Escher
 
Thanks for the star.

Yeah i can't remember exactly where i saw it, i think it was livedocs somewhere, that someone was complaining about it saying that CF should look for a caseless version of the filename even though it's an OS issue not CF...

also if you notice when macromedia mentions it they say "Application.cfm" always with capital A. also OnRequestEnd.cfm capital O, R, and E.

I looked this up real quick
cfdev.com said:
Incorrect example

Your Application.cfm file is named application.cfm

Resolution

Name your Application.cfm file with an uppercase A, and all lower case extensions.
Explanation

UNIX file systems are case sensitive, windows file systems are not, if you want your code to run on multiple platforms you need to pay close attention to file name case.

If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.

-Quote by Edward Hodnett
 
You know, come to think of it, I was taught to use a capital A when I first started using CF...hmmm...guess I just got lazy somewhere along the line. [sleeping2]



Hope This Helps!

ECAR
ECAR Technologies, LLC

"My work is a game, a very serious game." - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top