user1235905
user1235905

Reputation: 145

Apache ColdFusion cannot log into admin

I have a server running on the Amazon cloud running ColdFusion 9.0.1. on Windows 2008 R2 and Apache 2.2 I have verified that ColdFusion is running the webroot is c:\www I cannot access the CIIDE/Administrator page. It returns a directory listing and does not show the admin when I do something like this. The path to CFIDE is C:\www\dev\cr\CFIDE\administrator http://dev.mydomain.com/cfide/administrator Here are my virtual host settings. ServerAlias dev.mydomain.com DocumentRoot "c:/www/dev/cr"

Upvotes: 0

Views: 192

Answers (4)

Joshua Walcher
Joshua Walcher

Reputation: 496

If Apache config and the CF server is running with error, but you still cannot access the admin due to what seems like a timeout then make sure you have approved port 8500 in the security group. EC2 using the CF 2016 AMI installs a Coldfusion Security Group, but port 8500 isn't included in that security group.

Upvotes: 0

aman.kejriwal
aman.kejriwal

Reputation: 225

Just a small point here.

The CF admin may not always be at c:\the_path_you_think\cfide\administrator

Put #cgi.server_name# in a cfm file and run it on your server.

Whatever path you get from here, do the following for admin new_path\cfide\administrator.

Upvotes: 0

charlie arehart
charlie arehart

Reputation: 6894


You say you get only a directory listing. Is there an index.cfm in there? You don't mention using that on the URL. It may simply be that you need to add that to the URL, at least until you define index.cfm to be a default document. In apache, you could do that like:

DirectoryIndex index.cfm index.htm

If it's that there is no index.cfm in the directory listing, then what else do you see in there? That may give a clue to resolution.

Upvotes: 3

William Greenly
William Greenly

Reputation: 3989

When you installed ColdFusion did you install the ColdFusion module for Apache. You will know if you did because it will be in your Apache Conf. Look for something along the lines of:

LoadModule jrun_module "c:/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun.so" 
<IfModule mod_jrun.c> 
     JRunConfig Verbose false 
     JRunConfig Apialloc false 
     JRunConfig Ssl false 
     JRunConfig IgnoreSuffixmap false 
     JRunConfig Serverstore "c:/ColdFusion9/runtime/lib/wsconfig/1/jrunserver.store" 
     JRunConfig Bootstrap 127.0.0.1:51000 
     #JRunConfig Errorurl <optionally redirect to this URL on errors> 
     JRunConfig jrun-handler .jsp .jws .cfm .cfml .cfc .cfswf .cfr 
</IfModule>

If its not there, then follow the instructions below:

http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSc3ff6d0ea77859461172e0811cdec18a15-7ffb.html

Upvotes: 0

Related Questions