Coldfusion11 and Coldfusion8 on same windows server - coldfusion

I need to install cf11 on the same windows 2008 server as an existing cf8 install.
I realise it would be better to have 2 servers but in this case thats not an option open to us so I need specific help with the 2 installs.
The current CF8 is using IIS7.
I have done a bit of spade work and I believe the best way to do this cleanly would be to install a 2nd web server, e.g apache on windows and then configure it with CF11.
I had hoped that I could actually install CF11 and just configure specific iis sites with it, hoping this would leave the cf8 configured sites intact.
Any help would be appreciated.

Yes, you can run multiple sites under IIS on the same server, with different versions of ColdFusion. Every connector you create, should be with individual sites and not with "ALL" websites. Different versions of ColdFusion connected with different sites under the same IIS on the same server will not conflict with each other.

Related

ColdFusion 2016 Developer Edition on Windows Case Sensitivity

I just installed ColdFusion 2016 Developer Edition on my Windows 7 laptop and configured it to use the built-in web server. Previously I was using ColdFusion 11.
Now I have a case-sensitivity problem, but only for non-ColdFusion (.cfm) resources. For example, all css and js references are now case-sensitive, whereas they weren't when I was using ColdFusion 11. The same is true for calls to images and plain html files. All cfm files load just fine.
I modified the context.xml file (in the /cfusion/runtime/conf folder) to include <Context AllowLinking="true" caseSensitive="true"> (and yes, I also tried caseSensitive="false") and have restarted several times, but no luck yet.
The 404 error messages specify Apache Tomcat/8.5.11.
Any ideas on how to restore case-insensitivity? Thanks in advance for any help.
I seem to have "fixed" this. I enabled IIS on my laptop and used the Web Server Configuration tool to set it up with ColdFusion. (I also changed the path for the default website in IIS to /cfusion/wwwroot since that's where all my code is.) Everything seems to be working well now, with no case sensitivity for cfm or non-cfm pages. I no longer need to include the port (8500) in the URL for my applications, but do need to include it to reach the CF Administrator.

How to check whether code will work on CF9 server while working on CF10 server?

I have installed CF10 server installed on my local machine. We are migrating from CF9 to CF10. We use CFWheels framework for development. There are certain projects which are still on CF9. I would like to know, is there any way to check whether my code will work on CF9 server as well while working on CF10 server.
Thanks
The only way is to run the applications in development on the correct versions of ColdFusion.
I have projects that use different versions of ColdFusion and I simply have multiple versions installed on my development machine and start up whatever version I need based on which project I am working on. This ensures that the code I am writing will work with the version I need.

WAMP servers... why just for web development

What is to stop you using a WAMP server (or similar) to run single-user business database applications day-to-day?
I read everywhere that WAMP and the like are intended for the development of web apps, but why can't they be used to deploy desktop apps - what're the downsides?
Personally I think WAMP/MAMP/LAMP are great applications that CAN be used for production servers.
I have started doing this myself as I do not have the complete knowledge in server administration on the linux end and my PHP applications are not compatible with IIS.
If you are a small operation than it should save you time then go for it.
If your business grows and you can afford to put on staff to manage dedicated servers with the Apache, PHP ect all installed separately then I also recommend this.
The main difference I can see is that WAMP probably wont be as scalable as the preferred setup. The binaries are all integrated and sometimes I have had issues trying to figure out which php.ini file the system is using.
WAMP is just as secure as any other server as long as you know how to do so, is provides a UI layer which cost CPU time but like I said if you are only serving small web sites/apps than this should be just fine.
My other recommendation is to install it on a Server (Windows 2008 RS or 20012) Windows servers are more reliable and powerful than the Windows User version. Just remember to turn off IIS and any other roles not used by the Windows Server.
Make sure you your WAMP folder backed up regularly!
Good luck
I haven't found one yet. I guess the speed won't be as good as a 'pure' setup, but it sounds like that isn't an issue.
I run an epos web app for a photo studio no problem at all!
WAMP usually stands for Windows, Apache, Mysql, PHP or whatever your particular choice for P is. It describes a stack meant for specifically for deploying/developing web applications and is a rough equivalent to LAMP. Most things that would be considered desktop applications wouldn't use a webserver and more than likely would not be written in PHP.
The issue is not so much one of downsides as it is Apples and Oranges: Desktop applications are usually built with a less web centric stack.
Actually i used with wamp for many purposes; I used it with VB.NET apps, PHP, etc...but I think if you want to use it for deployment, you should start by configuring it to do so.
For example, for PHP deactivation errors display in php.ini, start listening on all allow all in httpd.conf, activating safe mode, setting a password for MySQL; and many other options that have to be configured.
I personally prefer because it is a quick and lightweight tool.

Running Railo and Adobe Coldfusion Server on the same server

I have several Coldfusion sites on a Win 2K3 IIS6 server and I wanted to ease into Railo. I was hoping to install Railo on the same server and just set up a particular IIS virtual host to use Railo instead of Adobe CF server.
It seems Adobe CF Server will still process the request for .cfm files even though I pointed the isapi mapping to the Railo dll.
I shut down Adobe Coldfusion 8 service and got Railo working on the IIS virtual host but it takes about 15 or so seconds to process a single .cfm file with the now() function in it. If I run the same cfm file via the port Railo is running on it is very fast.
is it possible to run Railo and CF Server side by side without JRun? And why would Railo and IIS be so slow?
Yes. A number of people have done such. Some (like Mike Henke and Matt Woodward) have gone even further and installed Open BlueDragon, Railo and Adobe CF at the same time. Matt has a really nice blog posting on how to do it here. He also has a nice set of presentation slides on this here.
The easiest way would be to download Railo Express (includes Jetty) and run that on a different port, like 8080.

Minimal production Django server on Windows

I need to deploy a small Django app to be used in a small intranet. Concurrency and speed are non issues because there will be, at most, 10 users (and I bet that there will be almost no concurrency).
There is already a MySQL server. The problem is with the Django app. What is the most lightwieght server I can install under a WinXP environment ? The Apache + mod_python approach seems a little overkill. The cherrypy server seems more suitable.
Any suggestions ? Someone with similar experiences ?
You could use IIS with PyISAPIe.
I outline my Django on Windows deployment here and also more info on PyISAPIe with Python 2.6 here.
As I'm not a big fan of IIS, I'd still use Apache + mod_wsgi. mod_wsgi is officially recommended way of deploying django apps, according to http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/
We're currently deploying a small intranet Django app to complement a closed source app on IIS to an audience of about 300-400, but low use.
We opted for cherrypy by means of django-wsgiserver, but go for the bitbucket version if you don't use the admin, there's a bug in the 0.6.10 version that's on pypi.
We have IIS as a reverse proxy in front of it, and use media from the existing app. Don't know yet if it's stable, but I like the fact that it's conceptually the same as the Apache+gunicorn setup that I use on the *nix box.
Since this question dates from 2 years, I'm very curious about your experience.
The Windows port of lighttpd also bears mention.