为了图方便,直接把wamp的vhost配置文件复制到新apache2.2.25上,结果打开静态页速度都非常慢。
<VirtualHost *:>
ServerAdmin www.fuck2.com
DocumentRoot "d:/mysite/fuck2.com" ServerName www.fuck2.com
ServerAlias fuck2.com <Directory "d:/mysite/fuck2.com/">
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from allow
#Require all granted apache2.*
</Directory> ErrorLog "logs/www.fuck2.com-error.log"
CustomLog "logs/www.fuck2.com-access.log" common </VirtualHost>
检查核对后更正:
<Directory "d:/htdocs/www.fuck2.com">
Options FollowSymLinks
AllowOverride All Order deny,allow
Allow from all </Directory>
接下来就非常正常了。