LINUX的APACHE服务停止不了
我停止不了我的APACHE服务了报错错误代码Syntaxerroronline1108of/usr/local/apache2/conf/httpd.conf:/usr/...
我停止不了我的APACHE服务了 报错 错误代码Syntax error on line 1108 of /usr/local/apache2/conf/httpd.conf:
/usr/local/apache2/conf/httpd.conf:1108: <VirtualHost> was not closed
下面是1106到1139行的内容
1106 </VirtualHost>
1107
1108 <VirtualHost 192.168.0.66>
1109 ServerAdmin admin@abc.com
1110 DocumentRoot /home/neo/mantis
1111 ServerName mantis.netvillage-hf.com
1112 php_admin_value open_basedir /home/neo/mantis
1113 ErrorLog /home/neo/logs/dummy-host.example.com-error_log
1114 CustomLog /home/neo/logs/dummy-host.example.com-access_log common
1115 #</VirtualHost>
1116
1117 #<VirtualHost 192.168.0.66>
1118 #ServerAdmin admin@abc.com
1119 #DocumentRoot /home/neo/mantis
1120 #ServerName mantis.fonfun-hf.com
1121 #php_admin_value open_basedir /home/neo/mantis
1122 #ErrorLog /home/neo/logs/dummy-host.example.com-error_log
1123 #CustomLog /home/neo/logs/dummy-host.example.com-access_log common
1124 #</VirtualHost>
1125 <VirtualHost 192.168.0.66>
1126 ServerAdmin admin@abc.com
1127 DocumentRoot /home/phpmyadmin
1128 ServerName www.phpmyadmin.cn
1129 #php_admin_value open_basedir /home/phpmyadmin
1130 ErrorLog logs/dummy-host.example.com-error_log
1131 CustomLog logs/dummy-host.example.com-access_log common
1132 </VirtualHost>
1133 <VirtualHost 192.168.0.66>
1134 ServerAdmin admin@abc.com
1135 DocumentRoot /home/lk/life/wp
1136 ServerName www.cms.net
1137 #php_admin_value open_basedir /home/lk/life/wp
1138 ErrorLog logs/dummy-host.example.com-error_log
1139 CustomLog logs/dummy-host.example.com-access_log common
谁能帮帮我啊 是不是配置文件那个地方错了 万分感谢 展开
/usr/local/apache2/conf/httpd.conf:1108: <VirtualHost> was not closed
下面是1106到1139行的内容
1106 </VirtualHost>
1107
1108 <VirtualHost 192.168.0.66>
1109 ServerAdmin admin@abc.com
1110 DocumentRoot /home/neo/mantis
1111 ServerName mantis.netvillage-hf.com
1112 php_admin_value open_basedir /home/neo/mantis
1113 ErrorLog /home/neo/logs/dummy-host.example.com-error_log
1114 CustomLog /home/neo/logs/dummy-host.example.com-access_log common
1115 #</VirtualHost>
1116
1117 #<VirtualHost 192.168.0.66>
1118 #ServerAdmin admin@abc.com
1119 #DocumentRoot /home/neo/mantis
1120 #ServerName mantis.fonfun-hf.com
1121 #php_admin_value open_basedir /home/neo/mantis
1122 #ErrorLog /home/neo/logs/dummy-host.example.com-error_log
1123 #CustomLog /home/neo/logs/dummy-host.example.com-access_log common
1124 #</VirtualHost>
1125 <VirtualHost 192.168.0.66>
1126 ServerAdmin admin@abc.com
1127 DocumentRoot /home/phpmyadmin
1128 ServerName www.phpmyadmin.cn
1129 #php_admin_value open_basedir /home/phpmyadmin
1130 ErrorLog logs/dummy-host.example.com-error_log
1131 CustomLog logs/dummy-host.example.com-access_log common
1132 </VirtualHost>
1133 <VirtualHost 192.168.0.66>
1134 ServerAdmin admin@abc.com
1135 DocumentRoot /home/lk/life/wp
1136 ServerName www.cms.net
1137 #php_admin_value open_basedir /home/lk/life/wp
1138 ErrorLog logs/dummy-host.example.com-error_log
1139 CustomLog logs/dummy-host.example.com-access_log common
谁能帮帮我啊 是不是配置文件那个地方错了 万分感谢 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询