简体   繁体   中英

Setting up SSL for credit card payments

I have just developed a credit-card processing form using Drupal, the form communicates with the Payway API (a payment processing API provided by my bank).

I have purchased an SSL certificate with my host, and I know have an HTTPS server on my hosting account. What do I do to make all my forms run through HTTPS? Sorry I am new to SSL and am completely clueless in this matter.

I've tried copying my drupal site into my httpsdocs folder but it runs extremely slow when I access it through https://

Any help or direct would be much appreciated.

One of the easiest ways to force HTTPS on a web server is through a .htaccess file on the root of your web server. Then you can apply HTTPS only to the folders you need.

If you are using Drupal, there is likely already a .htaccess file on the root of your website that you can edit. Here's a simple guide on what needs to be added to the file: http://www.besthostratings.com/articles/force-ssl-htaccess.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM