Apache httpd:etc/httpd/conf/httpd.conf的第1011行出现语法错误:GracefulShutDownTimeout>;指令缺少关闭'&燃气轮机';

Apache httpd:etc/httpd/conf/httpd.conf的第1011行出现语法错误:GracefulShutDownTimeout>;指令缺少关闭'&燃气轮机';,apache,localhost,hosting,web-hosting,Apache,Localhost,Hosting,Web Hosting,我不熟悉网络托管,我正在创建虚拟主机,我想在我的VPS上创建新站点(没有cpanel的Hostgator)。我按照说明编辑了httpd.conf文件,编辑如下 以前 #NameVirtualHost *:80 # # NOTE: NameVirtualHost cannot be used without a port specifier # (e.g. :80) if mod_ssl is being used, due to the nature of the # SSL protocol

我不熟悉网络托管,我正在创建虚拟主机,我想在我的VPS上创建新站点(没有cpanel的Hostgator)。我按照说明编辑了httpd.conf文件,编辑如下

以前

#NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier 
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>GracefulShutDownTimeout 3
AddOutputFilter INCLUDES .shtml
AddType text/html .shtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
GracefulShutDownTimeout 3

如何解决..

问题来自于行
GracefulShutDownTimeout 3
:在两个指令之间添加一行返回:

</VirtualHost>
GracefulShutDownTimeout 3

1011线是什么?这是带有额外GracefulShutDownTimeout(
GracefulShutDownTimeout 3
)的行吗?
    New files of configuration for Apache web server
     were not built due to errors in configuration templates: 
    httpd: Syntax error on line 1011 
of /etc/httpd/conf/httpd.conf: GracefulShutDownTimeout> directive missing closing '>' .
</VirtualHost>
GracefulShutDownTimeout 3
ErrorLog /var/www/glinks.ga/error.log
CustomLog /var/www/glinks.ga/requests.log common