Jahoobie
May 14th, 2008, 02:38 PM
I just finished my upgrade from 6.06 to 8.04, and the apache service keeps failing whenever I try to do a /etc/init.d/apache2 restart.
Error is:
Syntax error on line 6 of /etc/apache2/sites-enabled/ssl:
SSLOptions: Illegal option 'CompatEnvVars' [fail]
The file follows:
NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
SSLEngine on
SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
SSLCertificateFile /etc/ssl/certs/www_mywebsite_org.crt
SSLCertificateKeyFile /etc/ssl/private/sslkey.key
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>
The site associated with this has an SSL on it, and it is setup so that if someone goes to http:// it will auto redirect them to https://
Any idea what I would need to do to the ssl file to fix this?
Error is:
Syntax error on line 6 of /etc/apache2/sites-enabled/ssl:
SSLOptions: Illegal option 'CompatEnvVars' [fail]
The file follows:
NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
SSLEngine on
SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
SSLCertificateFile /etc/ssl/certs/www_mywebsite_org.crt
SSLCertificateKeyFile /etc/ssl/private/sslkey.key
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>
The site associated with this has an SSL on it, and it is setup so that if someone goes to http:// it will auto redirect them to https://
Any idea what I would need to do to the ssl file to fix this?