Jump to content

AdminCP Forcing HTTP Login - What should I do?


Recommended Posts

Posted

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.

b02faa6f8d650af4689988fc66ee8ef5.png

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.

Archived

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

  • Recently Browsing   0 members

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