ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 10th, 2013, 01:23 PM
swizylstik swizylstik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 swizylstik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 4 sec
Reputation Power: 0
Need Help Migrating CFM application to server

Can someone offer me assistance migrating my Coldfusion application onto a remote (non-web) server? I have the application migrated and the database is there, but it appears to me that the browser is not attempting to run any of the Coldfusion commands in the .cfm files.

Thanks!

-Swizylstik

Reply With Quote
  #2  
Old February 10th, 2013, 02:34 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Dev Shed God 7th Plane (8000 - 8499 posts)
 
Join Date: Dec 2004
Posts: 8,057 E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 1 Day 5 h 51 m 35 sec
Reputation Power: 7104
Maybe I'm not understanding what you're doing, but a browser by itself is not capable of running Coldfusion commands.
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old February 10th, 2013, 03:31 PM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,100 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 4 h 29 m 54 sec
Reputation Power: 966
CF requires a web server to handle HTTP requests. When CF is installed, it either is configured to use a built-in, development-only server, or is configured to work with a web server such as IIS or Apache. But there has to be a web server to handle the HTTP requests and hand .cfm pages over to CF for processing.

Reply With Quote
  #4  
Old February 10th, 2013, 07:44 PM
swizylstik swizylstik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 swizylstik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 4 sec
Reputation Power: 0
Thank you very much for this reply. Now I'm a little stuck here on what to do.

This application is basically just input forms that write to a database and then report that data out. I inherited this project from another programmer and the client insisted I not change the language. It wasn't until the project was finished that I understood this would not be running on a web server at all.

Can you give me any guidance on what I can do with this without having to reprogram the entire thing? I can send you links to view if you PM me privately.

Thank you!

Tracy

Reply With Quote
  #5  
Old February 10th, 2013, 07:49 PM
swizylstik swizylstik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 swizylstik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 4 sec
Reputation Power: 0
Thank you for your reply. Can you tell me if there is a way to configure a server to run this without having to reprogram the entire application? The application basically consists of forms used to gather data and write to a database and them some pages that report that data back out.

Thanks!

-Tracy

Quote:
Originally Posted by E-Oreo
Maybe I'm not understanding what you're doing, but a browser by itself is not capable of running Coldfusion commands.

Reply With Quote
  #6  
Old February 10th, 2013, 09:47 PM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,100 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 4 h 29 m 54 sec
Reputation Power: 966
Quote:
Originally Posted by swizylstik
Thank you for your reply. Can you tell me if there is a way to configure a server to run this without having to reprogram the entire application?
Sure, just set up an IIS or Apache web server on the machine and configure it to use the CF server to process .cfm pages.

If you are opening a URL in your browser to run a page, what does that URL look like? Are you sure the server doesn't already have a web server installed on it?

Reply With Quote
  #7  
Old February 10th, 2013, 09:54 PM
swizylstik swizylstik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 swizylstik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 4 sec
Reputation Power: 0
Is there a way to set this server up as a web server, but then only run the files locally? The issue I have is that this information is sensitive so it cannot be accessible to anybody via the web. The only way to access has to be internally onsite only.

I'm not onsite at the location. I access the server remotely via Citrix. Your help is greatly appreciated!

-Tracy

Quote:
Originally Posted by kiteless
CF requires a web server to handle HTTP requests. When CF is installed, it either is configured to use a built-in, development-only server, or is configured to work with a web server such as IIS or Apache. But there has to be a web server to handle the HTTP requests and hand .cfm pages over to CF for processing.

Reply With Quote
  #8  
Old February 11th, 2013, 08:28 AM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,100 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 4 h 29 m 54 sec
Reputation Power: 966
There are a few options but it will require you to know what you're doing (or be able to ask someone who knows what they are doing to do it for you):
  • Add firewall rules that allow only certain IP address or blocks of IP addresses to connect to the server.
  • Add OS-level permissions to the files/folders which require the user to log in using a valid user name and password before being allowed to access the pages.
  • Add an application layer login form to restrict access to the pages (just like Gmail or Facebook).

Reply With Quote
  #9  
Old February 11th, 2013, 10:30 AM
swizylstik swizylstik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 swizylstik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 4 sec
Reputation Power: 0
Quote:
Originally Posted by kiteless
Sure, just set up an IIS or Apache web server on the machine and configure it to use the CF server to process .cfm pages.

If you are opening a URL in your browser to run a page, what does that URL look like? Are you sure the server doesn't already have a web server installed on it?


I don't know how the server is set up currently. I'm not accustomed to using this kind of server. I usually develop web applications that are run on a remote web server. So I'm used to FTP, I'm used to phpMyAdmin to work with databases. This server was set up by the engineers at the hospital I'm working for.

Can you tell me if I ask them to set up the server in the way you've described will that mean that the server will be accessible through the web? The data on the server cannot be vulnerable to a web infiltration (if that makes sense).

Thanks so much for your help so far.

Reply With Quote
  #10  
Old February 11th, 2013, 12:16 PM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,100 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 4 h 29 m 54 sec
Reputation Power: 966
Whether the server would be available on the public internet depends entirely on your network infrastructure. If the machine is on an internal network that is not routable from the internet, then only machines on the internal network would be able to reach it. But again, that all depends on how the network and the routers are configured.

CF works the same as PHP (or ASP.NET, or Grails, or whatever): they are application servers that run in conjunction with a web server. So it's a "remote web server" in the same way that a PHP server that isn't on your local machine would be a remote web server. You can move files to the CF server via FTP, you can administer databases using database tools like MySQL's Workbench, etc. So if you think the CF setup is fundamentally different from a PHP setup, it really isn't.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Need Help Migrating CFM application to server

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap