Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Coldfusion url problem

New Here ,
Jun 06, 2010 Jun 06, 2010

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

454
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 06, 2010 Jun 06, 2010

Do you have a .htaccess file in that folder?

Maybe try creating it, and adding the following:

DirectoryIndex index.cfm
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 06, 2010 Jun 06, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 07, 2010 Jun 07, 2010
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources