1
Arricc
http/https
  • 2004/9/10 21:00

  • Arricc

  • Just popping in

  • Posts: 21

  • Since: 2004/6/1 1


I've got a couple of modules on my site that I'd like to run purely over https, but run the rest of the site over regular http...

Any ideas how I'd go about his? What files to hack, etc?

Cheers!

2
TheFinni
Re: http/https
  • 2004/9/14 9:27

  • TheFinni

  • Just popping in

  • Posts: 75

  • Since: 2003/11/25


Hi,
Yes, I did this in one site. But I don't know if it is the best way. Basically I made all images (and other src) in the template to load as ssl. (I manually put the full https:// url as src).

For some things that needed SSL support system-wide I added this in the mainfile.php:

define('XOOPS_URL_SSL', 'https://yourdomain.com');

A better way would probably be to specify a "home" link for the XOOPS_URL so that you don't have to worry about content not being downloaded as SSL. (you get that annoying pop-up in your browser; some items are not secure...yada,yada.)

I will have to face this again soon with a project coming up. Will let you know if I find a better solution. :)

Login

Who's Online

226 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits