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

CF2023: Problem Apache 2.4.58 web server connector on windows

New Here ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

Hi,

 

i installed CF2023 on windows and apache 2.4.58

I configured apache DocumentRoot and directory on c:/www and i test and work fine with virtual hosts with html pages.

I configured the connector with "web server configuration tool" but don't run correctly.

 

The configurator add correctly to httpd.conf 

Include "C:\Apache24\conf\mod_jk.conf"
Include "C:\ColdFusion2023\config\wsconfig\1\mod_jk_vhost.conf"

 

when i try to view a page, for example index.cfm I view the index file present in the directory

C:\ColdFusion2023\cfusion\wwwroot

whether you use the server's IP or a domain configured as virtual hosts

the mod_jk.log log doesn't give me any errors

I configured the connector with:

appserverhost: localhost

web server properties

config directory: I choose the right dir

Apache virtual host: I select "all"

In Advanced i chose apache exe file

 

where am I wrong or what should I do to make the connector work properly?

 

Many thanks

Marco

 

 

Views

244

Translate

Translate

Report

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
Community Expert ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

It seems you've done all the steps correctly. So first,. What do you see if instead you request a cfm file which is in the Apache site's webroot but NOT in the cf wwwroot? 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

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 ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

Wow!

I removed the files from the cf wwwroot directory and now it works!

 

Thanks Charlie!

Marco

Votes

Translate

Translate

Report

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
Community Expert ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

Good to hear, and glad to have helped. To help future readers who may find this and seek a solution to their own problem, can you clarify if you had the cfml code in both places? Or only in the cf wwwroot?

 

If the latter, was there something you'd read that suggested that (even when configuring cf to use apache)? If so, maybe we could get that updated. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

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 ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

LATEST

I had the cfml code in both places and i haven't read anything that suggested doing this but I did it by trying various cases to understand where the problem was.

 

It would be useful to create a document with the most common problems and their solutions

 

Marco

Votes

Translate

Translate

Report

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
Documentation