标签:demo code htm csdn exe http options class conf
1 wamp部署使用wamp2.4以下版本。
2.4版本自带的php5.4以上底层变化,phpcms运行不了。
2.2版自带的php5.3.10可以兼容。
2 安装配置时,尽量为每个站点配置(http.conf中站点配置)日志写入,通过日志判断访问故障。
apache也有自己的错误日志,记录的是整个服务器的日志。
3 apache站点配置
//apache2.2配置(与2.4有区别) <VirtualHost *:80> ServerName fdipzone.demo.com DocumentRoot "/home/fdipzone/sites/www" DirectoryIndex index.html index.php <Directory "/home/fdipzone/sites/www"> Options -Indexes +FollowSymlinks AllowOverride All Order deny,allow Allow from all </Directory> </VirtualHost> //apache2.4+配置 <VirtualHost *:80> ServerName fdipzone.demo.com DocumentRoot "/home/fdipzone/sites/www" DirectoryIndex index.html index.php <Directory "/home/fdipzone/sites/www"> Options -Indexes +FollowSymlinks AllowOverride All Require all granted </Directory> </VirtualHost>
错误1:client denied by server configuration错误解决方法
http://blog.csdn.net/fdipzone/article/details/40512229
标签:demo code htm csdn exe http options class conf
原文地址:http://www.cnblogs.com/ybtools/p/6623000.html