APMServ 配置记录

 

下载版本是5.2.6,它采用压缩率更高的7zip

 

解压后拷贝到c盘

 

点击APMServ.exe就可以启动了

 

注意:

1. SSL 有时需要关掉,否则apache起不来

2. 多数时候我只用apache,因此MySQL不打勾了

3. 有时还出现 “You don't have permission to access / on this server.”  提示。查了一下apache手册找到问题所在处。这里定义了默认对网站根的访问权限。

把 http.conf文件

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

改为

<Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
</Directory>

 

再点击启动,就没问题了。

 

4. 虚拟主机的配置如下

<VirtualHost *:80>
    ServerAdmin snandy@gmail.com
    DocumentRoot "F:/work"
    ServerName sites
    ErrorLog "logs/demo.sites-error.log"
    CustomLog "logs/demo.sites.access.log" common
</VirtualHost>

  

posted on 2013-08-23 16:37  snandy  阅读(1481)  评论(0编辑  收藏  举报