apache配置虚拟主机,apache虚拟主机_PHP教程
程序员文章站
2022-05-20 15:23:52
...
apache配置虚拟主机,apache虚拟主机
#在httpd.conf 开启 Virtual hosts Include conf/extra/httpd-vhosts.conf #然后在httpd-vhosts.conf 里面配置 #根据ip来匹配 ## DocumentRoot "E:/htdocs" # DirectoryIndex index.html index.htm index.php # #根据端口号来匹配 ## Options FollowSymLinks # AllowOverride None # Order allow,deny # Allow from all # ## DocumentRoot "E:/htdocs" # DirectoryIndex index.html index.htm index.php # #根据主机名匹配# Options FollowSymLinks # AllowOverride None # Order allow,deny # Allow from all # #DocumentRoot "E:/htdocs" ServerName localhost DirectoryIndex index.html index.htm index.php Options FollowSymLinks AllowOverride None Order allow,deny Allow from all DocumentRoot "E:/htdocs/dedecms" ServerName dedecms.com DirectoryIndex index.html index.htm index.php Options FollowSymLinks AllowOverride None Order allow,deny Allow from all DocumentRoot "E:/htdocs/discuz" ServerName discuz.com DirectoryIndex index.html index.htm index.php Options FollowSymLinks AllowOverride None Order allow,deny Allow from all
#在window 配置host文件
上一篇: 固定定位做的登录页面案例
下一篇: Oracle数据库基本常用命令汇总
推荐阅读
-
安装apache2.2.22配置php5.4(具体操作步骤)
-
关于Apache默认编码错误,导致网站乱码的解决方案,apache编码_PHP教程
-
apache2.2 虚拟主机配置详解,apache2.2详解_PHP教程
-
Apache Reference Manual (8)_PHP教程
-
windows中PHP5.2.14以及apache2.2.16安装配置方法第1/2页_PHP教程
-
Apache2.4+PHP5.6+MySQL5.6整合配置
-
RedhatAS3.0上安装Apache2+PHP5+MySQL+Resin+SSL+GD+weba_PHP教程
-
debian Squeeze配置apache php mysql环境,debian中apache目录结
-
debian Squeeze配置apache php mysql环境,debian中apache目录结
-
winxp apache用php建本地虚拟主机的方法