xiehao
发表于 2012-3-10 13:08:24
东城︶ㄣLee 发表于 2012-3-9 19:58 static/image/common/back.gif
兄弟 不错啊
哈哈,谢谢 {:1_1:}
skip_to_my_lou
发表于 2012-3-20 01:02:58
学习中,多谢楼主分享
tinsn
发表于 2012-3-20 21:34:01
xiehao 发表于 2011-12-27 14:41 static/image/common/back.gif
二.CI设置
1.URI中去掉index.php
RewriteEngine on
RewriteBase /dili
RewriteCond $1 !^(index\.php|images|robots\.txt|admincp|templates|extra|plugins|attachments)
RewriteRule ^(.*)$ index.php/$1
配置后,500访问错误。。。。
使用wamp
tinsn
发表于 2012-3-20 22:24:18
问题找到了。
wamp下是可以的,但是要让wamp支持htaccess文件。
直接在Apache模块里选上rewrite_module就OK了
tinsn
发表于 2012-3-20 22:36:18
xiehao 发表于 2011-12-27 14:41 static/image/common/back.gif
二.CI设置
1.URI中去掉index.php
兄弟,你这里用了短标记语法 <?=
需要添加支持才可以的。
具体参考http://codeigniter.org.cn/user_guide/general/alternative_php.html
xiehao
发表于 2012-3-21 13:28:27
tinsn 发表于 2012-3-20 22:36 static/image/common/back.gif
兄弟,你这里用了短标记语法
谢谢兄弟的提醒
datena
发表于 2012-3-21 13:42:14
xiehao 发表于 2011-12-27 14:41 static/image/common/back.gif
二.CI设置
1.URI中去掉index.php
老大。。我按你这个方法去掉index.php。。但是报404错误。。咋回事儿哩。。
xiehao
发表于 2012-3-21 13:44:26
datena 发表于 2012-3-21 13:42 static/image/common/back.gif
老大。。我按你这个方法去掉index.php。。但是报404错误。。咋回事儿哩。。 ...
如果环境配置一样,一步步做应该没问题的。我现在正在从头试一遍,发现自己失忆了...
jeongee
发表于 2012-3-21 13:47:59
xiehao 发表于 2012-3-21 13:44 static/image/common/back.gif
如果环境配置一样,一步步做应该没问题的。我现在正在从头试一遍,发现自己失忆了... ...
不要失忆哇;P
xiehao
发表于 2012-3-21 13:52:03
jeongee 发表于 2012-3-21 13:47 static/image/common/back.gif
不要失忆哇
老大,我很纠结啊,过去这么久了,我还是新手呢...多语言到底咋弄啊?
页:
1
2
3
[4]
5
6
7
8
9
10
11
12