yxmjc 2011-04-14 09:31:02 3899次浏览 3条回复 0 0 0

我用的WAMP 配置如图: [attach]82[/attach] [attach]83[/attach] [attach]84[/attach] [attach]85[/attach]

出现错误! [attach]86[/attach]

那个大哥 给个解决方法、

已经解决了...

在虚拟目录上隐藏index.php
.htaccess配置如下

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)$ /new/index.php/$1 [QSA,PT,L] 
#/new/   new 为虚拟目录 没有虚拟目录的则为 RewriteRule ^(.*)$ /index.php/$1 [QSA,PT,L] 
</IfModule>
您需要登录后才可以回复。登录 | 立即注册