Jump to content

AdminCP Forcing HTTP Login - What should I do?

Recommended Posts

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/

Does anyone have any suggestions please? I still wish to access the Admin CP while also having the front end secured with HTTPS.



Nevermind - I resolved this by removing the redirect block and not making any reference to VirtualHost *:80 in my conf.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...