岁月总是愈来愈短 日子也总是愈来愈快 珍惜
服务器
Win7 快速搭建开发Ruby On Rails(ROR) 环境
七 14th
1,rubyinstaller-1.8.7-p334
2,rubygems-1.4.2
3,mysql-5.0.19
这些都可以到http://rubyforge.orgqu 去下载
废话少说10分钟应该可以收工 按我命令提示行来
安装ruby
安然rubygems
安装 rails 在安装mysql就可以 启动服务了
打开浏览器 收工
IDE的话Netbeans 6.9.1是可以开发ROR的,但是7.0以上就不行了
在window server 2003 安装rails 的时候老是找不到包:
gem update –system
但是安装好rails的后执行 rails test的时候报错
回到gem 1.4.2的文件夹 执行
ruby setup.rb
覆盖最新的rubygem版本就ok
这里贴下代码 有空看看就明白了
C:\Documents and Settings\Administrator>gem install rails -v=2.3.8 WARNING: RubyGems 1.2+ index not found for: RubyGems will revert to legacy indexes degrading performance. Updating metadata for 1 gems from http://rubygems.org/ . complete Updating 更多 >
IIS 7.5 HTTP 错误 404.17 – Not Found 请求的内容似乎是脚本,因而将无法由静态文件处理程序来处理。
六 12th
错误如图:
我项目应用池里面asp.net为2.0
如是 我在dos里面注册2.0重启变可以了
Microsoft Windows [版本 6.1.7600] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 C:\Users\Aiice>cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ C:\Windows\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -i 开始安装 ASP.NET (2.0.50727)。 .............................................................. ASP.NET (2.0.50727)安装完毕。 C:\Windows\Microsoft.NET\Framework\v2.0.50727>
您正在搜索的页面可能已经删除、更名或暂时不可用。
五 9th
无法生成临时类(result=1)
五 6th
您不具备查看该目录或页面的权限,因为访问控制列表 (ACL) 对 Web 服务器上的该资源进行了配置。
四 29th
网站页面访问没有问题 可是图片images文件夹下面不能访问,解决方案:
检查你的物理文件或者物理目录(我这里为images文件夹)的安全性是否允许everyone可读
windows环境下Apach2.2.17加mod_aspdotnet-2.2.0运行.net项目(aspx)
四 21st
所需软件
1,httpd-2.2.17-win32-x86-openssl-0.9.8o.zip Apach服务器
2,mod_aspdotnet-2.2.0.2006-setup-r2.msi mod_aspdotnet
直接安装便可
找到C:\Program Files\Apache Software Foundation\Apache2.2\conf下的httpd.conf文件
在文件最后添加如下代码:由于代码显示有问题请点击httd.conf查看
#asp.net LoadModule aspdotnet_module "modules/mod_aspdotnet.so" AddHandler asp.net htm asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo # Mount the ASP.NET example application AspNetMount /gcl1 "F:/gcl" # Map all requests for /active to the application files Alias /gcl1 更多 >