新人求助 CI的配置问题(急)
我的apache的根目录配成这样:<VirtualHost *:80>
ServerName php.gw.com.cn
DocumentRoot "D:\xampp\htdocs\dzh"
#ErrorLog "logs/dev.gwallan.com-error.log"
#CustomLog "logs/dev.gwallan.com-access.log" combined
RewriteEngine On
RewriteCond %{REQUEST_URI} \.php$
RewriteRule ^(.*)\.php$ /php/$1.php
RewriteRule ^(.*)$ /html$1
</VirtualHost>
我运行:http://php.gw.com.cn/ci/index.php 首页是正常的
但是我运行http://php.gw.com.cn/ci/index.php/welcome
就会出现:
Not FoundThe requested URL /ci/index.php/welcome was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 Server at php.gw.com.cn Port 80
这样的情况
请大侠们指教 谢谢!!!! http://php.gw.com.cn/ci/index/welcome
or
http://php.gw.com.cn/ci/iwelcome
ok?
http://域/目录/控制器/action
本帖最后由 williamzwh 于 2012-10-9 14:29 编辑
hulei0102 发表于 2012-10-9 13:57 static/image/common/back.gif
http://php.gw.com.cn/ci/index/welcome
or
http://php.gw.com.cn/ci/iwelcome
大侠,我用了你的方法了 还是不行的
急的啊
页:
[1]