Per your chick-egg twist,
I’d say with 1’s and 0’s on a Linux machine??
the last 2% is gone … forever…
tail it back…tevo.
catch it on Netflix!
show:
tail /etc/apache2/apache2.conf
ok so nothing mysterious going on there.
The magic is all in sites-enabled/*.conf
…
but we already looked at the default file…
Please show the SSL file:
/etc/apache2/sites-enabled/000-default-le-ssl.conf
Permission Denied???
I am gRoot user!!
No problem. Incredible how you programmers are able to recall and store these commands in memory… IQ Over 9000!!!
sorry (I keep forgetting this is not your forte), please show it (not run it):
more /etc/apache2/sites-enabled/000-default-le-ssl.conf
back to the chicken-egg…
I’d say it was the rooster!
OK we are now well versed in futility.
I don’t see where this hung a left.
please restart the apache server/service.
[if all else fails reboot]
Mind boggling!!
I mean, if you access via https:// it loads just fine.
Just doesn’t redirect via http://
I do dearly thank you ever so much for the entertaining support!!
Goes to show some personality and humor goes a long way.
Society needs more of it.
Yes
Life without humor is like…
Humor without life [but sadder]
Let’s try the other (more simple) redirection method instead:
RedirectMatch ^/(.*)$ https://%{HTTP_HOST}/$1
can you edit?
are you too impaired to drive?
shall I call you an editor?
publicist?
reader?
Think you would be one of those insanely good programmers who has the capability to work at a place like Google… or doing your own hacking like Edward Snowden. haha!!
Your smarts could be used for more humanitarian purposes
OK but can you spell E D I T ?
This is code:
RedirectMatch ^/(.*)$ https://%{HTTP_HOST}/$1
[kids don’t try this at home]
You need to edit the file to put that code into it.
can you use “vi” “nano” ?
would that be,
edit the htaccess file?
Honestly, I don’t 100% follow… more like 5 ~ 10%
I’m a programmer via Google search
edit the HTTP file:
had to use the DeLorean to back to when this thread was much shorter (to find what I was looking for)
And get a “two fisted burger” from Burger King
[did I mention that I work for food?]
edit this file:
/etc/apache2/sites-enabled/000-default.conf
and replace:
RewriteEngine on
RewriteCond %... [I'm not a human OCR]
RewriteCond %... [so not going to type it in]
RewriteCond %... [and yet I did type something in]
RewriteRule ^ https://...[seems like a waste of perfectly goood typing]
wiith
RedirectMatch ^/(.*)$ https://%{HTTP_HOST}/$1
Note: replace just means add “#” to start of each line
Like:
#RewriteEngine on
#RewriteCond %... [I'm not a human OCR]
#RewriteCond %... [so not going to type it in]
#RewriteCond %... [and yet I did type something in]
#RewriteRule ^ https://...[seems like a waste of perfectly goood typing]
RedirectMatch ^/(.*)$ https://%{HTTP_HOST}/$1
I follow that bit with programming. Commenting those lines out. haha!
Haha! Just as much as a photographer is consider a published one… with a simple photo publish in a self authored book.
service apache2 restart
Woohoo!!!
You’re a programmer now!
[yes yes he’s one of us]
Now simply restart apache.
[will he pass the test?]
[told you he’s not one of us]
[give him time to Google it - you know you still Google stuff all the time]
http:// just returns a broken page
Womp Womp.
And we have now crashed our first web site!
You’re really moving up fast.
[he’s a natural]
quick # out the added line and restart apache