Manually Configuring Apache to Run .CFM pages

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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
    4. 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. ...
    5. 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...
  3. #2

    Default Re: Manually Configuring Apache to Run .CFM pages

    Re-http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001755.htm
    might help.


    BKBK Guest

  4. #3

    Default 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

  5. #4

    Default 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

  6. #5

    Default Re: Manually Configuring Apache to Run .CFM pages

    Here's my test page

    [url]http://68.82.182.251/test.cfm[/url]

    ?!?!?!?!?!?!?!?
    davarn1979 Guest

  7. #6

    Default 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

  8. #7

    Default 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

  9. #8

    Default 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

  10. #9

    Default 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

  11. #10

    Default 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

  12. #11

    Default 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

  13. #12

    Default 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

  14. #13

    Default 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

  15. #14

    Default 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

  16. #15

    Default 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

  17. #16

    Default 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

  18. #17

    Default 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

  19. #18

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139