关于 wampserver 64的配置问题

来源:互联网 发布:centos安装软件 编辑:程序博客网 时间:2024/06/01 18:25
 
修改index.php 这俩行文件


$projectContents .= 'http://localhost/'.$file.$UrlPort.'/"';
$projectContents .= 'http://localhost/'.$UrlPort.'/'.$file.'/"'; 


apache拓展里面的autoindex_module打开 

配置

C:\PHP\wamp64\bin\apache\apache2.4.17\conf\extra

配置
<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host2.example.com
    DocumentRoot "c:/PHP/wamp64/www/my-site"
    ServerName www.good.com
    <Directory "c:/PHP/wamp64/www/my-site">
        Options Indexes FollowSymLinks
        Order allow,deny
        Allow from all
    </Directory>
    ErrorLog "logs/dummy-host2.example.com-error.log"
    CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>