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
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?
Copy link to clipboard
Copied
Wow!
I removed the files from the cf wwwroot directory and now it works!
Thanks Charlie!
Marco
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.
Copy link to clipboard
Copied
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