Jump to content

Back-End on SSL Connection Only


globi
 Share

Recommended Posts

If your admin is located at /processwire/ it looks like the easiest thing to do is edit your .htaccess file and add this solution to it  after RewriteEngine On:
 http://stackoverflow.com/questions/9642877/redirect-only-one-folder-to-https-all-others-to-http

Remember to leave the RewriteEngine On line off the example (don't want it in the .htaccess file twice) and change secure to processwire from the example.

Should work but I've not tested it.

Link to comment
Share on other sites

  • 3 weeks later...

A great answer from Soma. However, here's a further question around this topic ...

I quite often take a backup of the server DB and install it locally when I want to work on the site. Generally, the data is more up to date on the server than on my local copy.

If I install the backup from the server, I have no SSL certificate locally and I cannot get into the Admin section.

Any suggestions as to how to get around this?

Thanks.

Link to comment
Share on other sites

One option is to install a self-signed SSL Certificate on your local machine.   There are numerous instructions on how to do this on the Internet.

I have referenced one that applies to Windows users to get you started.

http://www.howtogeek.com/107415/it-how-to-create-a-self-signed-security-ssl-certificate-and-deploy-it-to-client-machines/

  • Like 5
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...