apache开启发生特定错误1
net start apache2.2,提示无法启动,发生特定服务错误:1.是怎么回事?
[解决办法]
可能是配置文件有误
[解决办法]
把错误提出来看看
[解决办法]
## Virtual Hosts## If you want to maintain multiple domains/hostnames on your# machine you can setup VirtualHost containers for them. Most configurations# use only name-based virtual hosts so the server doesn't need to worry about# IP addresses. This is indicated by the asterisks in the directives below.## Please see the documentation at # <URL:http://httpd.apache.org/docs/2.2/vhosts/># for further details before you try to setup virtual hosts.## You may use the command line option '-S' to verify your virtual host# configuration.## Use name-based virtual hosting.#NameVirtualHost *:80## VirtualHost example:# Almost any Apache directive may go into a VirtualHost container.# The first VirtualHost section is used for all requests that do not# match a ServerName or ServerAlias in any <VirtualHost> block.#################################################################<VirtualHost *:80> ServerAdmin 20092068@bit.edu.cn DocumentRoot "D:/Program Files/Apache2.2/htdocs" ServerName localhost DirectoryIndex index.html index.php ErrorLog "logs/error.log" CustomLog "logs/access.log" common</VirtualHost>#################################################################<VirtualHost *:80> ServerAdmin fangzhaoguo@yeah.net DocumentRoot D:/ProgramData/Apache/www.fangzhaoguo.com Alias / "D:/ProgramData/Apache/www.fangzhaoguo.com/" ServerName www.fangzhaoguo.com DirectoryIndex /root/index.html /root/index.php ProxyPass / ajp://www.fangzhaoguo.com:8009/ ErrorLog "logs/error.log" CustomLog "logs/access.log" common</VirtualHost><Directory "D:/ProgramData/Apache/www.fangzhaoguo.com/"> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all</Directory><Directory "D:/ProgramData/Apache/www.fangzhaoguo.com/"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all</Directory><FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All</FilesMatch><VirtualHost *:80> ServerAdmin fangzhaoguo@yeah.net DocumentRoot D:/ProgramData/Apache/fangzhaoguo.xicp.net Alias / "D:/ProgramData/Apache/fangzhaoguo.xicp.net/" ServerName fangzhaoguo.xicp.net DirectoryIndex /root/index.html /root/index.php ErrorLog "logs/error.log" CustomLog "logs/access.log" common</VirtualHost><Directory "D:/ProgramData/Apache/fangzhaoguo.xicp.net/"> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all</Directory><Directory "D:/ProgramData/Apache/fangzhaoguo.xicp.net/"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all</Directory><FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All</FilesMatch><VirtualHost *:80> ServerAdmin fangzhaoguo@yeah.net DocumentRoot D:/ProgramData/Apache/fangzhaoguo.vicp.net Alias / "D:/ProgramData/Apache/fangzhaoguo.vicp.net/" ServerName fangzhaoguo.vicp.net DirectoryIndex /root/index.html /root/index.php ErrorLog "logs/error.log" CustomLog "logs/access.log" common</VirtualHost><Directory "D:/ProgramData/Apache/fangzhaoguo.xicp.net/"> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all</Directory><Directory "D:/ProgramData/Apache/fangzhaoguo.xicp.net/"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all</Directory><FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All</FilesMatch><VirtualHost *:80> ServerAdmin fangzhaoguo@yeah.net DocumentRoot D:/ProgramData/Apache/fangzhaoguo.vicp.cc Alias / "D:/ProgramData/Apache/fangzhaoguo.vicp.cc/" ServerName fangzhaoguo.vicp.cc DirectoryIndex /root/index.html /root/index.php ErrorLog "logs/error.log" CustomLog "logs/access.log" common</VirtualHost><Directory "D:/ProgramData/Apache/fangzhaoguo.vicp.cc/"> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all</Directory><Directory "D:/ProgramData/Apache/fangzhaoguo.vicp.cc/"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all</Directory><FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All</FilesMatch>