Coldfusion/MAMP Pro/Windows 10 [英] Coldfusion/MAMP Pro/Windows 10

查看:129
本文介绍了Coldfusion/MAMP Pro/Windows 10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关在Windows环境中设置Mamp与Coldfusion一起使用的文档似乎非常有限,所以我在这里.

Documentation on setting up Mamp to work with Coldfusion in a Windows environment seems to be pretty limited, so here I am.

我在WINDOWS 10计算机上同时设置了MAMP PRO和COLDFUSION 11. Mamp指向正确的Document Root文件夹,并且Apache和MySQL服务都正确启动(我认为).当我在浏览器中导航到"localhost"时,我只能看到ColdFusion源-而不是呈现的页面.我假设ColdFusion在此实例中未运行. .htaccess文件似乎可以正常运行,因为我的网站重定向都正常运行.

I have both MAMP PRO and COLDFUSION 11 set up on a WINDOWS 10 computer. Mamp is pointed to the correct Document Root folder and both Apache and MySQL services start correctly (I assume). When I navigate to 'localhost' in my browser, all I can see is the ColdFusion source - not a rendered page. I assume ColdFusion isn't running in this instance. The .htaccess file seems to be working as my site redirects are all functioning.

我认为我的MAMP PRO配置文件设置不正确,或者我的ColdFusion Web服务器配置错误.我可以弄清楚需要在OSX中将Web服务器指向何处,但在Windows中似乎是另一种设置.

I assume I have my MAMP PRO config file set up incorrectly or I configured my ColdFusion web servers wrong. I can figure out where I need to point the web servers in OSX, but it seems to be a different setup in Windows.

任何见解将不胜感激.预先感谢!

Any insights would be greatly appreciated. Thanks in advance!

推荐答案

当您看到.cfm文件的源时,您的Web服务器(Apache)即使正在运行,也不知道您的ColdFusion服务器.

When you see the source of .cfm files, your web server (Apache) does not know about your ColdFusion server even if it's running.

卸载CF11,在重新安装CF的同时保持Apache的运行,CF的安装过程应该会看到您的Apache并安装连接器".

Un-install CF11, keep Apache running while re-installing CF, CF install process should see your Apache and install the "connector".

更新: :CF11安装需要手动输入Apache的配置目录"和服务器二进制"值.

UPDATE: CF11 install needs the manual input of 'configuration directory' and 'server binary' values for Apache.

使用MAMP PRO的默认安装,Apache的配置目录为"C:\Users\Public\Documents\Appsolute\MAMPPRO\conf\",服务器二进制文件为"C:\MAMP\bin\apache\bin\httpd.exe"

With the defaults install for MAMP PRO the configuration directory for Apache is "C:\Users\Public\Documents\Appsolute\MAMPPRO\conf\" and the server binary is "C:\MAMP\bin\apache\bin\httpd.exe"

服务器根目录位于"C:\Users\Public\Documents\Appsolute\MAMPPRO\mamp\",您可以在其中放置测试'index.cfm'文件.

The server root is at "C:\Users\Public\Documents\Appsolute\MAMPPRO\mamp\" where you can drop a test 'index.cfm' file.

这篇关于Coldfusion/MAMP Pro/Windows 10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆