Apache 运行使用ColdFusion与Coldspring、Reacter和Model Glue构建的网站的本地服务器的最简单方法是什么?
情况是这样的:我得到了一台机器,它有一个旧网站的被颠覆的存储库,可以不时地更新/添加内容。该网站是使用ColdFusion和ModelGlue MVC构建的,我对ColdFusion一无所知。我们运行的另一个网站是CakePHP,这对我来说已经足够好了;( 话虽如此,我修改它的内容并没有问题,因为它都是HTML和javascript。问题是,每做一次小的更改,我都必须提交到服务器上的开发存储库,然后再联机查看更改情况!Apache 运行使用ColdFusion与Coldspring、Reacter和Model Glue构建的网站的本地服务器的最简单方法是什么?,apache,coldfusion,wampserver,model-glue,Apache,Coldfusion,Wampserver,Model Glue,情况是这样的:我得到了一台机器,它有一个旧网站的被颠覆的存储库,可以不时地更新/添加内容。该网站是使用ColdFusion和ModelGlue MVC构建的,我对ColdFusion一无所知。我们运行的另一个网站是CakePHP,这对我来说已经足够好了;( 话虽如此,我修改它的内容并没有问题,因为它都是HTML和javascript。问题是,每做一次小的更改,我都必须提交到服务器上的开发存储库,然后再联机查看更改情况! 对于一个简单的东西,比如html标签的“height”属性,尝试不同的值会让
对于一个简单的东西,比如html标签的“height”属性,尝试不同的值会让人非常沮丧!!而更让我沮丧的是,试图在我的机器上运行该存储库的本地副本 到目前为止,我尝试的是:
- 我用WAMP安装了CF10
- 为新服务器配置了vhosts文件
- 已将我的用户添加到ColdFusion应用程序服务器服务(windows 7x64)
<VirtualHost *>
ServerName localhost-CF
DocumentRoot "C:/wamp/www/my/webroot/directory/"
<Directory "C:/wamp/www/my/webroot/directory/">
Options Indexes FollowSymLinks Includes ExecCGI
allow from all
order allow,deny
# Enables .htaccess files for this site
AllowOverride All
</Directory>
# Apache will look for these two files, in this order, if no file is specified in the URL
DirectoryIndex index.cfm index.html index.php
</VirtualHost>
我确实有cfclientstorage作为DSN存储,管理员告诉我它已验证!但是,我认为,如果这个确切的存储库在服务器上运行良好,那么我就不必担心代码!这很可能是系统/服务器配置或安装问题(在我的本地计算机上).看起来您正在使用ColdSpring。您需要登录ColdFusion管理员并向ColdSpring目录添加映射,例如: /冷弹簧-->c:/coldspring
此外,您还需要设置一个数据源以指向“cfclientstorage”数据库。这也是ColdFusion管理员中的一个设置。ColdFusion有一个内置的Web服务器,通常在端口8500处运行(取决于您的设置)。您是否尝试在该端口运行网站而不是通过Apache?您是否运行了Web服务器配置工具?@Sanjeev不,我没有。如果我在添加Apache服务器后立即尝试,它是否有效?我想您的意思是:localhost:850/,对吗?我仍然需要了解如何将coldfusion指向index.cfm文件。@ScottStroz:是的,这就是我在安装完成后添加apache服务器的方式(先使用内置服务器)。我们可以查看该站点的VirtualHost块吗?您是否验证了Apache是否正确提供HTML文件?感谢@TechMark2k恢复关于此问题的讨论。我以前提出过第二个建议。但我将尝试第一个建议,并会与您联系。
"Error","ajp-bio-8012-exec-1","08/15/13","10:34:38","PREK","Error during init: Could not find the ColdFusion component or interface coldspring.beans.DefaultXmlBeanFactory. Ensure that the name is correct and that the component or interface exists."
"Error","ajp-bio-8012-exec-1","08/15/13","10:34:38","PREK","Error during exception service init: Element EXCEPTIONSERVICE is undefined in a Java object of type class [Ljava.lang.String;. "
"Error","ajp-bio-8012-exec-1","08/15/13","10:34:38","PREK","Error during application init: The datasource named cfclientstorage is not a valid client storage DSN. Define client storage DSN through the ColdFusion Administrator."