我只是简单的在httpd.conf里加了虚拟域名
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "XXX"
ServerName localhost_xs
ServerAlias localhost_xs <Directory "XXX">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>在hosts文件里加了127.0.0.1 localhost_xs就这些,
.htaccess有没有都会出现描述的问题,也就是没有重写规则
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "XXX"
ServerName localhost_xs
ServerAlias localhost_xs <Directory "XXX">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>在hosts文件里加了127.0.0.1 localhost_xs就这些,
.htaccess有没有都会出现描述的问题,也就是没有重写规则
楼主【libol】截止到2008-06-30 10:44:48的历史汇总数据(不包括此帖):
发帖数:0 发帖分:0
结贴数:0 结贴分:0
未结数:0 未结分:0
结贴率:-------------------结分率:-------------------
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html
<?php
session_start();
echo session_id();
?>
每刷新一次页面就产生新的session id而localhost访问的部分正常有谁遇到过这种问题吗?
IE,FF这些只对于客户端语言有区别,对于服务器来说应该没有区别,唯一可能的错误就是cookie吧。
IE和FF的COOKIE保存路径不一样。