Skip to main content
Marco Colombo
Participating Frequently
January 9, 2024
Question

CF2023: Problem Apache 2.4.58 web server connector on windows

  • January 9, 2024
  • 1 reply
  • 586 views

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

 

 

    This topic has been closed for replies.

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    January 9, 2024

    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)
    Marco Colombo
    Participating Frequently
    January 10, 2024

    Wow!

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

     

    Thanks Charlie!

    Marco

    Charlie Arehart
    Community Expert
    Community Expert
    January 10, 2024

    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)