Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
davarn1979 #1
Manually Configuring Apache to Run .CFM pages
I have pain stakenly gotting CF 7 installed on my Linux Box running apache.
But non of my .cfm pages work correctly. apache is sending the pages to the
browser without processing the cf code. The result is any cf code comes out
displayed like a text doc. Click on [url]http://68.82.182.251/[/url] to see what I'm
talking about. I'm a little confused because the cf-admin is running with no
problem. I would think that would have issues as well. Can anyone help me
configue apache properly?? Thanks a bunch.
davarn1979 Guest
-
Configuring Apache to accept DW/Contr templates
WHere can i find info on how to configure Apache to accept MIME type dwt for dreamweaver or contribute templates? are dw templates different than... -
Configuring DNS manually
My colleagues here have installed a Win2K3 server while I was away and setup AD without installing DNS service on the server. So while running the... -
Configuring Jpgraph on Windows 2000+Apache+PHP+MySql server
Could someone walk me step by step on how to install and get JpGraph running on a Windows 2000+Apache+PHP+MySql server? -Thanks Jeff -
Help configuring Perl with Apache 2
This is more of an Apache question than a Perl question, but I'll go for it here. I installed RedHat 9 (including Apache 2 and Perl) from CD. ... -
help apache-ssl does not show any pages
Ivan Wills wrote: Problem solved I changed the SSLCacheServerPort from /var/run/gcache_port to 1234 in /etc/apache-ssl/http.conf then restarted... -
BKBK #2
Re: Manually Configuring Apache to Run .CFM pages
Re-http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001755.htm
might help.
BKBK Guest
-
davarn1979 #3
Re: Manually Configuring Apache to Run .CFM pages
I've tired to do this.
Configure Apache on UNIX #1:
cf_root/runtime/bin/wsconfig -server coldfusion -ws Apache
-bin /opt/apache2/bin/httpd -script /opt/apache2/bin/apachectl
-dir /opt/apache2/conf -coldfusion -v
but I get a message the says directory or file wsconfig does not exist. I can
see it there not sure why this is happening. Do I need to change the file
somehow before I run this command?
davarn1979 Guest
-
BKBK #4
Re: Manually Configuring Apache to Run .CFM pages
Save this simple page in your site as test.cfm. Can you open it in the browser?
BKBK Guest
-
davarn1979 #5
Re: Manually Configuring Apache to Run .CFM pages
Here's my test page
[url]http://68.82.182.251/test.cfm[/url]
?!?!?!?!?!?!?!?
davarn1979 Guest
-
BKBK #6
Re: Manually Configuring Apache to Run .CFM pages
Here's my test page
hmm, the gears are not engaging the motor! I'll try to reproduce this on the
linux box round the corner.
BKBK Guest
-
sdupre #7
Re: Manually Configuring Apache to Run .CFM pages
I agree this seems to be a permissions issue.
Seeing the wsconfig.log would help.
java -Dtrace.ci=1 -jar wsconfig.jar <all the other switches>
You have permissions problems and the httpd.conf is never getting written -
inspect for "# JRun Settings" to be sure.
The /wsconfig isn't getting created either.
Stephen Dupre
Macromedia QA
sdupre Guest
-
BKBK #8
Re: Manually Configuring Apache to Run .CFM pages
CFMX7, Fedora 3, Apache
Just to say, in every test I do, whenever I can't display test.cfm, I can't
display the Coldfusion Administrator either. So, I've not been able to
reproduce your error. But I noticed that when I restart Apache, reconfigure
the webserver connector and restarted Coldfusion it didn't ask me
to save the cfm page.
BKBK Guest
-
davarn1979 #9
Re: Manually Configuring Apache to Run .CFM pages
I ran this
java -Dtrace.ci=1 -jar wsconfig.jar
hoping to get more info but all I got was this
Failed to load Main-Class manifest attribute from wsconfig.jar
davarn1979 Guest
-
BKBK #10
Re: Manually Configuring Apache to Run .CFM pages
I ran this
java -Dtrace.ci=1 -jar wsconfig.jar
I think you need many more switches than that. This might also
be problematic if your machine has two or more instances of
the JVM. Combine the advice here with guidance from the
[url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000050.htm[/url]
BKBK Guest
-
davarn1979 #11
Re: Manually Configuring Apache to Run .CFM pages
I think that uninstalling it and starting over is the best thing to do. but to
answer your questions it's CF 7 on a Fedora Core 4 server. For the longest time
I couldn't get the admin to run I ended up just needing to install some stuff
and change the permissions on certain file then restart coldfusion and it
worked.
[url]http://68.82.182.251:8500/CFIDE/administrator/index.cfm[/url]
but if you try to go to that link it will thrown and error. It runs on my
local network but i some how changed the internal ip on the server screwing
around with ifconfig i think. Thats another problem in of itself.
so I'm ready to start over but it you can't tell I really don't know what the
hell I'm doing. So I dont know how to uninstall it either. I thought I could
just go to /opt/coldfusionmx7/uninstall and it would do it's thing but it
didn't.
so can you give me the command to uninstall and then I will try to reinstall.
thank so much. asking questions is the only way I've gotten any of this to work
even half way.
and if you feel like telling me how to get my internal ip back to 192.168.1.4
I'd be great full. I think the router might have changed it when I had to
reset it. or I could have done it in ifconfig not sure which. I think I need
ot buy a static ip form my isp.
have a good one and thanks again.
davarn1979 Guest
-
davarn1979 #12
Re: Manually Configuring Apache to Run .CFM pages
Ok scratch most of that last reply from me. I've uninstalled and reinstalled
CF7
well the first time I don't think I configured a web server during the
installation.
so this time I think I did it write on now the cf admin doesn't work either
now.
[url]http://68.82.182.251/CFIDE/administrator/index.cfm[/url]
on the bright side I didn't get any errors just a bunch of code.
well this might be better I think you said you had yours kill the cf admin
other pages
davarn1979 Guest
-
davarn1979 #13
Re: Manually Configuring Apache to Run .CFM pages
Ok scratch most of that last reply from me. I've uninstalled and reinstalled
CF7
well the first time I don't think I configured a web server during the
installation.
so this time I think I did it write on now the cf admin doesn't work either
now.
[url]http://68.82.182.251/CFIDE/administrator/index.cfm[/url]
on the bright side I didn't get any errors just a bunch of code.
well this might be better I think you said you had yours kill the cf admin
other pages
davarn1979 Guest
-
davarn1979 #14
Re: Manually Configuring Apache to Run .CFM pages
ok I think I need to fix this by editing the httpd.conf file. but when I open
it with nano it's blank. FC 6 lets you edit it in gui mode but I don't think
that's gonna cut it. How can I edit it manually? and what does it need to be.
I think it actually worked for a minute but I overwrote it by editing the conf
file in gui mode.
davarn1979 Guest
-
BKBK #15
Re: Manually Configuring Apache to Run .CFM pages
Hi Davarn1979,
It's really not going your way, is it? Take heart. These things usually have a
way of turning out okay in the end.
I've just upgraded from Fedora 3 to Fedora 4. I'm going to do a fresh CFMX7.x
on
it, to see whether I can reproduce any of the problems you're having.
BKBK Guest
-
davarn1979 #16
Re: Manually Configuring Apache to Run .CFM pages
Praise the lord I finnaly figured out a way to edit the httpd.conf file. I
don't know why but it comes up blank I can only see the text by searching for
something. so I hit ctrl w and typed in virtual and there she was. So I think
I can solve so of this by adding back in whatever coldfusion wrote to it during
the install????? unforunitly I don't know what all that was.
davarn1979 Guest
-
davarn1979 #17
Re: Manually Configuring Apache to Run .CFM pages
Wahooooooooooooooooooooooooooo!
It's working. Thank you guys very much. I just finished installing CF 7 for
the 3rd time and it's all good stuff now.
I would have had it working the last time but I tried to adjust the http
server setting using the gui option which will over write what CF creates
during the install.
But look a copy of my church site that I built is running on my server now
properly finnally
[url]http://68.82.182.251/ourfriendsrock/htdocs/rlmgrace/index.cfm[/url]
a lot of it is content managed so it was all screwed up without cf.
Now if I couldn't have figure out how to get the default documents working and
a list of other stuff I'm in there. Thanks again. You rock!!
I think I'll start a new thread for the other stuff. :)
davarn1979 Guest
-
BKBK #18
Re: Manually Configuring Apache to Run .CFM pages
Wahooooooooooooooooooooooooooo!
Just watch him go! I'm happy for you, Davarn. Good luck with the site.
BKBK Guest



Reply With Quote

