HTTP not redirecting to HTTPS >> rewrite module enabled

When you run grep with only one argument, that argument is interpreted as a search pattern, and the grep program reads input from the user instead of from the disk. So it was trying to search whatever you typed in for the string /etc/apache2/apache.conf.

1 Like

Geez!! My other account was haled from posting for the day:

50

So I made a new one. Thank you for your humor and patients. haha! This is quite fun

1 Like

hmm… I need confirmation: Hey Siri, “Where’s the beef?”
siri:
The beef can be found in 1984 at any Wendy’s fast food restaurant.
You may need a DeLorean to get there though.

LOL!! Your tech skills worthy of owning a DeLorean.Okay, here’s where the comments kind of stopped:

36

Results of the other command you suggested

closer…
keep going
that part looks good

whilst we waiting, I’m going to Uber a DeLorean…

Your time machine My Good Sir.:

SX679

Ahaha!!

1 Like

Want anything from Wendy’s (circa 1984/85)?
No! They’re still fresh.
It was only made 5 minutes ago (in 1985).

Prefer McDonalds actually. 2 Big Macs. Super Bucket of Fries. And Extra Large Neapolitan Milk Shake.

Please say “Hi” to my Grandmother. She used to work there… literally!!

HI Grandma!

Now what comes after the directories ?

need to check for any .htaccess files (probably none there but need to be sure)
find / -name '*htaccess'

ls -l /etc/apache2/conf-enabled/*.conf

(At this rate, I’ll probably end up creating a 3rd account in order to reply. LOL!! :smiley: :smiley: :smiley: )

go! go! go!
break a record!

the security,conf should be default but let’s check it also:
more /etc/apache2/conf-enabled/security.conf

that all looks related to logins
we are now only concerned with document root access
so that’s OK

and we’re still missing the last (and most important) 2%

“Got Milk?”

not that 2% !

Per this command

more /etc/apache2/conf-enabled/security.conf

Most of it returned commons only.
Anything in particular I should be looking for?

One moment n that 2%

anything in the grep search strings

What comprises the other 98% of the 2% milk gallons? hmm…

whilst we wait… daily chick-egg twist:
What came first: Programmer or Program?

Programmer!
Really? How did he write his first program?