Skip to main content
Participant
June 6, 2010
Question

Coldfusion url problem

  • June 6, 2010
  • 1 reply
  • 490 views

Hello,

I am not sure if it is coldfusion problem of apache or something else, but anyway I have setup wamp server and after that coldfusion 9. I have setup coldfusion so that it works and also added index.cfm to httpd.conf file so that it opens index.cfm when somone request a directory. The problem is if you request a directory which has index.cfm inside it will display that index.cfm as a text file so all the code will be visible but if you go to that_directory/index.cfm than everything works great.

Here are two screenshots:

http://www.dpl-lescebled.si/knjizica_letenja/cfscreen/1.jpg

http://www.dpl-lescebled.si/knjizica_letenja/cfscreen/2.jpg

So if anyone has any suggestions please post them.

Thanks,

Janez

    This topic has been closed for replies.

    1 reply

    BreakawayPaul
    Inspiring
    June 6, 2010

    Do you have a .htaccess file in that folder?

    Maybe try creating it, and adding the following:

    DirectoryIndex index.cfm
    feldinAuthor
    Participant
    June 6, 2010

    Tried that now, but the same thing happens...

    feldinAuthor
    Participant
    June 7, 2010

    Ok I have fixed the problem...

    I have installed wamp + coldfusion on other computer and it all worked fine after installation on that computer, so I just copied the httpd.conf file for apache server and it works fine now...

    But anyway if somone comes up whits just the right command that I have been missing please share it

    Regards,

    Janez