Luke Northern Posted May 13, 2018 Posted May 13, 2018 Hi, I have recently set up my apache2 web server with a wildcard SSL certificate. When trying to diagnose a 'Your connection to this site is not fully secure" error against a HTTP call on a PNG file, I attempted to connect to the AdminCP... I noticed when doing this that I could never get past the login page, this appears to be because the login calls a URL prefixed by HTTP that my webserver is moving to HTTPS automatically, hence breaking the login. The workaround for this is to remove the following block from my apache2 default.conf file, however this would expose my site to connection via port HTTP. <VirtualHost *:80> ServerName arma-rp.co.uk Redirect permanent / https://arma-rp.co.uk/ </VirtualHost> Does anyone have any suggestions please? I still wish to access the Admin CP while also having the front end secured with HTTPS. EDIT Nevermind - I resolved this by removing the redirect block and not making any reference to VirtualHost *:80 in my conf.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.