[fixed]https available again

Announcements and for questions/problems..
Post Reply
User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

[fixed]https available again

Post by bad_brain »

alrighty, https is available again, it's a self-signed certificate so you have to add an exception in the browser.. :wink:
Image

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Re: https available again

Post by ayu »

yay ... finally ^^
"The best place to hide a tree, is in a forest"

User avatar
Stavros
ΜΟΛΩΝ ΛΑΒΕ
ΜΟΛΩΝ ΛΑΒΕ
Posts: 1098
Joined: 02 Jan 2006, 17:00
18
Location: Mississippi, U.S.A.

Re: https available again

Post by Stavros »

Anytime I try to connect to https suck-o I get redirected to plaintext suck-o. Is anyone else having this problem?

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: https available again

Post by bad_brain »

you are right, the problem was caused by the mod rewrite rules which forced the use of "www.", it directed to http://" onclick="window.open(this.href);return false;.

I have added new rules for https now and divided the rules (for http and https) dpending on the ports, so it works now. if someone is interested, here's low it looks:

Code: Select all

RewriteCond %{SERVER_PORT} =80
RewriteCond %{HTTP_HOST} !^www\.suck-o\.com [NC]
RewriteRule ^(.*)$ http://www.suck-o.com/$1 [R=301,L]

RewriteCond %{SERVER_PORT} =443
RewriteCond %{HTTP_HOST} !^www\.suck-o\.com [NC]
RewriteRule ^(.*)$ https://www.suck-o.com/$1 [R=301,L]
don't wonder if you have to accept the certificate twice, that's because the main site and the boards are actually independent sites... :wink:
Image

User avatar
Lyecdevf
cyber Idi Amin
cyber Idi Amin
Posts: 1222
Joined: 16 Mar 2006, 17:00
18
Location: In between life and death.
Contact:

Re: https available again

Post by Lyecdevf »

Stavros wrote:Anytime I try to connect to https suck-o I get redirected to plaintext suck-o. Is anyone else having this problem?
Yeah, it asks you if you want to view the entire page or just the contents that can be encrypted. I am in some cyber caffe and just got this thing my self.
We will either find a way, or make one.
- Hannibal

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: [fixed]https available again

Post by bad_brain »

hm, the reason are most likely some images with hardcoded http:// URLs....will check this out when I have some spare time... :wink:
Image

User avatar
Lyecdevf
cyber Idi Amin
cyber Idi Amin
Posts: 1222
Joined: 16 Mar 2006, 17:00
18
Location: In between life and death.
Contact:

Re: [fixed]https available again

Post by Lyecdevf »

bad_brain wrote:hm, the reason are most likely some images with hardcoded http:// URLs....will check this out when I have some spare time... :wink:
It is no biggy. You just have to click on "no" and that is it.
We will either find a way, or make one.
- Hannibal

Post Reply