用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2690|回复: 0
收起左侧

[HELP] .htaccess问题

[复制链接]
发表于 2012-4-21 13:06:21 | 显示全部楼层 |阅读模式
使用:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /ci/index.php/$1 [L]
之后,
config.php: $config['base_url']    = "http://localhost/ci/";
view: <script src="<?php echo base_url().'html/js/jquery-1.4.4.min.js'?>" type="text/javascript"></script>
浏览器源代码:<script src="http://localhost/ci/html/js/jquery-1.4.4.min.js"></script>载入路径对啦啊,
但我使用ajax提交总是跳转到这里  http://localhost/#.*$/
求解,大哥们帮看看啊!!!


本版积分规则