-- Leo's gemini proxy

-- Connecting to darknesscode.xyz:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-US

Apache mod_security module


This can be achieved by installing Apache mod_security module


sudo apt install libapache2-mod-security2

Enable security2:


sudo a2enmod security2

Then open the Apache configuration file:


sudo nano /etc/apache2/apache2.conf

Now change or add these lines below (make sure to change serverName to any other thing you want to appear to clients).


ServerTokens Full
SecServerSignature “serverName”

Finally restart the web server.


sudo systemctl restart apache2

----------


Home

Linux

Notes

MicroLog


----------


© DarknessCode

-- Response ended

-- Page fetched on Tue May 21 17:46:09 2024