xmapp多工作目录配置

来源:互联网 发布:华为平台软件 编辑:程序博客网 时间:2024/04/27 16:22




                                    1.在“C:\Windows\System32\drivers\etc”的host(用超级用户打开)文件里加上“127.0.0.1 www.hxm.com”

                  2.检查“C:\xampp\apache\conf\httpd.conf” 里的“Include conf/extra/httpd-mpm.conf” 前没有“#”即是打开状态

                  3.在“C:\xampp\apache\conf\extra\http-vhosts.conf” 里加上下面的代码

                     

<VirtualHost *:80>    ServerAdmin webmaster@dummy-host.example.com    DocumentRoot "F:/php"    ServerName www.hxm.com    ServerAlias hxm.com    ErrorLog "logs/dummy-host.example.com-error.log"    CustomLog "logs/dummy-host.example.com-access.log" common</VirtualHost><Directory "F:\php">        Options Indexes FollowSymLinks Includes ExecCGI        AllowOverride All        Order allow,deny        Allow from all </Directory>
                 4.在"C:\xampp\apache\conf\httpd.conf"里的找到"<Directory /> ... <Directory>" 标签修改内容为

                 

<Directory />    Options FollowSymLinks    AllowOverride all    Order deny,allow    Deny from all</Directory>
                 5.重启apache即可配置成功

0 0
原创粉丝点击