14 January 2022, 14:26 | #1 |
Retro Gamer
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,079
|
Add http redirect to https
Can you please add http redirect for https site?
For some reason browser defaults to http and trows 404 error. |
14 January 2022, 15:48 | #2 |
cheeky scoundrel
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 43
Posts: 7,018
|
But what 404's? The http route works just fine for me. I want the redirect because I'm too lazy to type it out myself
|
14 January 2022, 16:48 | #3 |
Registered User
Join Date: Jan 2011
Location: -
Posts: 728
|
The http:// site works fine for me. There's something wrong on your end if it doesn't work.
Making the site redirect http:// redirect to https:// could hurt Amiga browsers. Whether or not that matters is up to RCK and the rest. |
14 January 2022, 17:16 | #4 |
cheeky scoundrel
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 43
Posts: 7,018
|
Maybe redirect is the wrong word, the default protocol that should be picked if all you type in is "eab.abime.net" should be https. If you type http:// then that should just go to the http site because that is what you specifically ask for.
|
14 January 2022, 17:59 | #5 | |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
Quote:
The problem is that it would have to be for all non-https requests to eab.abime.net, there's no way to infer the user's intent. (I believe) the only way to make eab.abime.net "secure", but allow people who insist that it must also be "insecure", would be to move the insecure part to a separate hostname, and also ensure that no cookies will be shared between the two (sharing cookies between secure and insecure sites negates much of the security), and all that would have negative impacts on other things, and stuff. Maybe there are other options. Maybe there's a header that can tell recent browsers to prefer https. I don't know, I've been out of the game for a while. |
|
14 January 2022, 18:27 | #6 |
Registered User
Join Date: Oct 2009
Location: Salem, OR
Posts: 1,770
|
I would think that would be a client issue.
It is the browser that decides what protocol to use if you only type in the domain name with no HTTP: or HTTPS: So that sounds like a browser issue. As mentioned, a redirect on the server side would probably break all HTTP, because it would be redirecting it to HTTPS. |
14 January 2022, 18:43 | #7 | |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
Quote:
|
|
14 January 2022, 19:07 | #8 |
2064
Join Date: Jul 2005
Location: de
Posts: 231
|
As far as i know there are only two methods to do that on the server-side. Port redirect and HSTS. Both do not allow optional HTTP.
|
14 January 2022, 19:51 | #9 |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
I'm not sure what you could mean by "port redirect", but HSTS looks like the magical header that I'd hoped for a couple of posts ago. It still requires that HTTP exists though, and that it doesn't emit any cookies or private information.
|
14 January 2022, 20:15 | #10 | |
2064
Join Date: Jul 2005
Location: de
Posts: 231
|
Server redirection of port 80 (http) to 443 (https) via http/301 or similar.
You enter the site by "http://" and the server replies with "Go to https:// instead" and your browser does so. Quote:
Edit: On the other hand, Amiga browser is not Firefox. It could theoretically ignore HSTS. But that's a quirk. Getting 'hurt by redirection' is a major quirk as well though. I can't tell anything about Amiga browsers though. Not sure what's wrong with them. Last edited by NoX1911; 14 January 2022 at 20:29. |
|
14 January 2022, 23:01 | #11 |
Retro Gamer
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,079
|
Reason I posted this as I had the same thing happen on 3 computers (work, gaming and laptop I use at home) and after further check, it seems it is one of cookies that caused 404 - Page not found error. Removing cookies fixed this.
If anyone else has the same problem, just remove cookies. I still think that https should have president over http access to site. (be first to be reached if you just type eab.abime.net ) |
15 January 2022, 03:35 | #12 |
WinUAE 4000/40, V4SA
Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
|
HTTPS versus HTTP should be decided by the browser if you don't explicitly specify that you want one or the other. Not everyone accessing this site has a browser that does HTTPS, especially if they're connecting from their Amiga.
|
16 January 2022, 15:36 | #13 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,366
|
It seems 404 error on EAB is not linked to https at all. At least, not for me.
And no link with cookies either. If i try : http://eab.abime.net/ then i get 404. But if i do : http://eab.abime.net/index.php then it works... |
16 January 2022, 17:48 | #14 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,649
|
Quote:
Same here (Firefox 96)... Last edited by hooverphonique; 17 January 2022 at 16:50. Reason: add browser version |
|
16 January 2022, 18:50 | #15 |
Registered User
Join Date: Mar 2004
Location: finland
Posts: 1,847
|
Both do work - Firefox, Chrome and Edge. And IB2.4 on WinUAE...
|
17 January 2022, 11:38 | #16 |
cheeky scoundrel
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 43
Posts: 7,018
|
In this other thread 404 problems are being linked specifically to Firefox usage
|
17 January 2022, 16:53 | #17 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,649
|
When using https, yes. using http://eab.abime.net on firefox results in 404 - I'm pretty sure that wasn't the case a week ago.
|
17 January 2022, 18:16 | #18 |
2064
Join Date: Jul 2005
Location: de
Posts: 231
|
Http works properly here as well. Maybe try a new Firefox profile for testing.
The forum was down for 24h some days ago (the IRC server seems still down. At least the top banner has it still removed). Maybe there are still side-effects out there. |
17 January 2022, 21:19 | #19 |
Registered User
Join Date: Mar 2004
Location: finland
Posts: 1,847
|
http://eab.abime.net/ redirects to https on my Firefox as I checked.
|
21 January 2022, 10:35 | #20 |
Administrator
Join Date: Feb 2001
Location: Paris / France
Age: 46
Posts: 3,099
|
Right now, I won't force any https:// redirection on server side.
EAB is available to full HTTP or full HTTPS : http://eab.abime.net/ https://eab.abime.net/ I just tested both url with Firefox 96 and Chrome 97 without any problem So if your browser don't let you access the HTTP version, clean your cache and reset your privacy options. edit: see FF96 screenshot with http://eab.abime.net Last edited by RCK; 25 May 2023 at 16:40. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CD32 NVRAM redirect | BigMacDaddy | New to Emulation or Amiga scene | 17 | 17 March 2021 21:18 |
HOL on HTTPS | CodyJarrett | HOL suggestions and feedback | 13 | 01 March 2021 10:37 |
Why is https:// not supported here? | hugo_nl | project.EAB | 32 | 19 October 2019 19:13 |
How to redirect the output of IconX to a file | tygre | support.Apps | 8 | 10 July 2011 05:29 |
CU Amiga Feb 1994 redirect mistake | spirit | AMR data problems | 3 | 24 September 2007 09:44 |
|
|