onice 发表于 2011-5-17 12:00:31

绑定域名以后应该怎么去index.php

本帖最后由 onice 于 2011-5-17 12:31 编辑

网站程序本来不是在根目录下

所以我的htaccess规则为:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots|contact_us|order)
RewriteCond $1 !^(template)

RewriteRule ^(.*)$ index.php/$1


然后我在本地绑定域名以后
<VirtualHost *:80>
DocumentRoot   D:/AppServ/www/onice
ServerName   www.make.com
<Directory "D:/AppServ/www/onice">
AllowOverride All
</Directory>
</VirtualHost>

就给了我网站程序一个域名:www.make.com

config.php为
$config['base_url']      = "http://www.make.com/";
$config['index_page'] = "";


为了去掉index.php

我应该怎么做?


页: [1]
查看完整版本: 绑定域名以后应该怎么去index.php