Listen 443
<VirtualHost *:443>
DocumentRoot /var/www
ServerName www.mattsplacein.space
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/myurl_space.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
SSLCertificateChainFile /etc/apache2/ssl/CA Bundle.crt
</VirtualHost>
<VirtualHost *:443>
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
Options -Indexes
</Directory>
<Directory /var/www/>
AllowOverride None
Order allow,deny
allow from all
Options -Indexes
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Options -Indexes
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory />
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
Allow from all
</Directory>
<Directory />
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
Allow from all
</Directory>
<Directory /media/usbstick/>
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
Allow from all
</Directory>
</VirtualHost>
有人可以帮助我吗?我正在尝试启用我的SSL证书。所以我可以通过我的网站运行它。但是当我重新启动apache时它无法启动。有没有人有任何关于如何解决它的想法? 这是它认为我得到的错误日志 “apache2:无法可靠地确定服务器的完全限定域名,使用127.0.1.1 for ServerName “