Harden apache on debian and wordpress

PLASTIC SEA comes to land

I checked out

https://securityheaders.com/

# set security headers in apache

# test with https://www.keycdn.com/blog/http-security-headers



and added in cat /etc/apache2/conf-enabled/security.conf 

Header set X-XSS-Protection “1; mode=block”

Header set X-Frame-Options “SAMEORIGIN”

Header set X-Content-Type-Options “nosniff”

Header set Feature-Policy “autoplay ‘none’; camera ‘none'”

Header always set Referrer-Policy “same-origin”

Header set Strict-Transport-Security “max-age=31536000; includeSubDomains; preload”

Header always set Permissions-Policy “geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()”

Then I went to the the WordPress installed directory

See: https://blog.sucuri.net/2012/07/wordpress-and-server-hardening-taking-security-to-another-level.html

# adduser wordpressuser
# cd /var/www/pathtoyoursite
# chown -R wordpressuser:apache .
# chmod -R 750 .
# find . -type f -exec chmod 440 {} \;
#find . -name “*.php” -exec chmod 440 {} \;
#find . -type d -exec chmod 750 {} \;

update WordPress I do with the wp.cli commands:

since I use root I run it with –allow-root:

#wp plugin install wordfence –activate –allow-root
#wp plugin install cookie-law-info –activate –allow-root
#wp core update –skip-plugins –skip-themes –allow-root
#wp theme update –all –allow-root
#wp plugin update –all –allow-root

what’s next

You’ve probably heard that Pokemon Go players are going out and “catching ’em all”. Well, in honor of them (and you caught my drift), let’s talk about how to reach heaven. I’m not talking about Heaven itself here. I’m talking about how to get there from here.

We all want to live forever. And we all want free Wi-Fi everywhere and a smart blender. But the 5 steps you need to take to get there are different.

The afterlife is a mysterious place, and it can be hard to predict what’s waiting for us when we die. However, that hasn’t stopped people from trying to describe it. Below are 5 descriptions of the afterlife from famous scientists\’ statements on religion. Hearing more after my logic thought “5 steps? What can that really be?”. Did I have an idea of what this could be? Of course. Could I have guessed it in advance? Not even in the farthest corner of my mind could I have considered this possibility.

The afterlife is a big unknown. It’s hard to imagine what it will be like, but many of us want to know what happens when we die.

There are many theories about what happens after we die, but there is no scientific evidence that any of them are true. However, there are some things we do know about death and the afterlife:

We don’t need food or water after we die. Our bodies stop working and start to decay.

Our brains stop working very soon after our hearts stop beating. This means that if you’re not brain dead, your mind will still be active until you’re dead.

When your brain stops working, other organs in your body stop working as well — especially those organs that control breathing and heartbeat. This means that once your brain stops working, it won’t ever work again, even if someone brings you back from the brink of death with CPR or defibrillation (both forms of life support). The exception is if someone keeps you alive using artificial life support machines for years after your heart stops beating and your brain stops functioning normally — in which case you might eventually regain consciousness again if doctors can keep machines like ventilators going long enough for you to recover from being

In this article, I am going to introduce you to the five most common ways of getting into the afterlife.

1: The soul is recycled and reborn into another body. This is done by your soul being sent back to earth in a new body with a different genetic makeup. The idea is that every time we die, our soul goes through a rebirth cycle where it takes on new experiences, encounters and interactions with the world at large. This process continues until you have learned all that you need to learn from life on Earth and can then move on to higher levels of existence.

2: The soul lives in heaven for eternity. This one is pretty straightforward; after death, your soul goes straight up to heaven where it lives out an eternal life of happiness and joy with no other worries or cares in the world. Heaven is usually depicted as being somewhere above us (and possibly outside our solar system), but some people believe that there are multiple heavens (or multiple levels) within this one universe and that they may even exist within other universes as well! Many religions teach that God Himself will welcome us into His wonderful kingdom when we die, but others say that only those who have earned their way

The afterlife is a location that is either in another dimension or plane of existence, or an imagined realm that transcends physical reality. The concept of an afterlife is found in many religious and philosophical systems, as well as in fiction.

The Abrahamic religions believe that a human soul can survive death and reach an afterlife, where it will be judged by God. According to these religions, the dead will then be consigned to heaven (the Garden of Eden) or hell (the Netherworld).

There are different traditions regarding the timing of a person’s death and the transition to the afterlife. In some cultures, such as those of Ancient Egypt and ancient Greece, funerary rituals included provisions for a safe passage to the afterlife; this was accomplished through magic spells and offerings made to gods, who were thought to intervene in human affairs.[11] Other cultures like the Vikings and Japanese left their dead on board ship for transportation to Valhalla.[12] In most pre-modern pagan traditions, such as those of northern Europe and modern-day Scandinavia, a person’s fate after death was often tied directly to the circumstances surrounding their birth; for example if they were born under poor astrological conditions,

There are five methods to get there alive:

  1. You can become immortal through the use of science and technology (becoming a cyborg or an AI).
  2. You can become immortal by making yourself immortal by having an heir or heirship that will carry on after you die (i.e., having children).
  3. You can become immortal through faith in God or a higher power, either by being saved after death (by going to Heaven) or being resurrected from death (by returning as a zombie).
  4. You can become immortal by using science and technology but not getting caught (i.e., not dying at all, or at least not until you want to).
  5. You can become immortal by using faith in God or a higher power but not getting caught (i.e., not dying at all, or at least not until you want to).

HTTP 2.2

Where is the gold

freelancer-green https://cheapsslsecurity.com/p/the-advantages-of-http2/
https://www.howtoforge.com/how-to-enable-http-2-in-apache/
https://http2.pro/doc/Apache
https://www.collectiveray.com/what-is-http2
https://www.tecmint.com/enable-http2-in-apache-on-ubuntu/

Debian 10

apt-get install php7.4-fpm
a2dismod php7.4
a2enconf php7.4-fpm
a2enmod proxy_fcgi

 

a2dismod mpm_prefork
a2enmod mpm_event
a2enmod ssl

a2enmod http2

systemctl restart apache2



Protocols h2 http/1.1
<VirtualHost *:443>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/public_html/example.com
SSLEngine on
SSLCertificateKeyFile /path/to/private.pem
SSLCertificateFile /path/to/cert.pem
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
Protocols h2 http/1.1
</VirtualHost>
 

Are You fake when You’re in the News

We should have seen this coming. Less than two weeks after his 2016 warning that hoaxes would have higher production values from now on, Ben Smith decided to publish the unedited “Steele Dossier,” containing all sorts of sordid allegations against Donald Trump that Smith said his reporters could not confirm or disprove. The stories in the dossier were compiled by a British spook talking to Russian intelligence as part of opposition research for the Clinton campaign, and they formed the basis for treating the just-elected president as a suspected Manchurian Candidate controlled by Moscow. After a few years, an impeachment trial, and endless breathless updates on how the walls were closing in, we discovered the very thing any news-literate reader would have guessed at the time if the relevant journalistic investigations had been done: The dossier was filled with misinformation that Russian intelligence hoped to get the U.S. media to run with. The media that had warned against fake news willingly and happily propagated it. (from here)

You had brown eyes, but now they’re blue
Those false eyelashes that you’re wearin’ too
In bed this morning, you called me CIyde
Alex is the name that I go by!
If women could be counterfeit
Then you’d be it


You’re a fake, baby
You can’t conceal it
Know how I know?
‘Cause I can feel it
You’re a fake, baby
I’ve blown your cover
The iig is up
‘Cause I discovered

by: Alexander O’Neal

Believe

Imagine a world in which generations of human beings come to believe that certain films were made by God or that specific software was coded by him. Imagine a future in which millions of our descendants murder each other over rival interpretations of Star Wars or Windows 98. Could anything — anything — be more ridiculous? And yet, this would be no more ridiculous than the world we are living in. -Sam Harris, author (b. 9 Apr 1967)

I believe I can fly
I believe I can touch the sky
I think about it every night and day
Spread my wings and fly away
I believe I can soar
I see me running through that open door
I believe I can fly

by R.Kelly

“I Believe I Can Fly” was written for the 1996 film “Space Jam”. The song won several Grammy awards at the 1997 ceremony: “Best Male R&B Vocal Performance”, “Best R&B Song”, and “Best Song Written Specifically for a Motion Picture or for Television”.