Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Do you have a .htaccess file in that folder?
Maybe try creating it, and adding the following:
DirectoryIndex index.cfm
Copy link to clipboard
Copied
Tried that now, but the same thing happens...
Copy link to clipboard
Copied
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