Hello! I used to have this setup in my 001-fog.conf to have Https (code below). after updating to 1.5.3 it dissapeared so i added it again and restarted apache. but still get a HTTP ERROR 500.
Have I been doing this wrong all the time even tho it worked?
it still works by using the ip/fog in the browser.
Suggestions or pointing me in the right direction greatly appreciated.
<VirtualHost *:80>
ServerName fog.servername.com
Redirect / https://fog.servername.com/
</VirtualHost>
<VirtualHost *:443>
<FilesMatch "\.php$">
SetHandler "proxy:fcgi://127.0.0.1:9000/"
</FilesMatch>
KeepAlive Off
ServerName fog.servername.com
DocumentRoot /var/www/fog
SSLEngine on
SSLCertificateFile /etc/apache2/SSL/fog/server.crt
SSLCertificateKeyFile /etc/apache2/SSL/fog/server.key
SSLCertificateChainFile //etc/apache2/SSL/fog/fromGodaddy.crt
<Directory /var/www/html/fog/>
DirectoryIndex index.php index.html index.htm
</Directory>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d
RewriteRule ^/fog/(.*)$ /fog/api/index.php [QSA,L]
</VirtualHost>