设置虚拟机

来源:互联网 发布:sql语句怎么优化 编辑:程序博客网 时间:2024/05/16 15:27

1、         Apache服务器

Ip:192.168.56.40

   255.255.255.0

192.168.52.254

    DNS: 202.99.160.68

        192.168.13.1

 高级:192.168.56.40

   255.255.255.0

192.168.52.254

 

 

1)         主配置

ServerRoot:apache的根目录

Listen:监听端口号

LoadModule :DSO

虚拟主机

  ServerName192.168.52.26:80

 DocumentRootweb根文档目录

ErrorLog "D:/wamp/logs/apache_error.log" 错误日志

 

   .htaccess

<IfModule dir_module>

   DirectoryIndex index.php index.php3 index.html index.htm

</IfModule>

http://www.baidu.com/index.html

./news_manage/index.php

./a.php

//header

AddType application/x-compress .Z


原创粉丝点击