@TheDJ
You are wrong. I know how URLs work since year 1996 approximately.
In this post I meant to write:
It is true that these two are protocols and I was confused and changing:
$wgServer = "localhost://hanekudai";
to:
$wgServer = "http://localhost:hanekudai";
didn't solve the problem.
I couldn't edit the post above to fix my mistake for some reason (it's very bad that anonymous users here can't edit their posts even for just one hour or 12 hours from the posting operation).
That being said
Evidently I had another mistake there confusing :
instead of /
after years I didn't set a local server environment on Windows so just chill out and don't be so demagogue about alleged 100 future probelms that never were and shouldn't be and about what I am going to enjoy or not.
Here is the first part of a Bash script I once wrote years ago to set my VPS on a Digital Ocean droplet, something I greatly enjoyed doing at the time:
#!/bin/bash
apt update -y
apt upgrade sshguard
apt upgrade ufw
ufw --force enable
ufw allow 22,25,80,443/tcp
ufw allow 22,25,80,443/udp
apt upgrade unattended-upgrades wget curl zip unzip tree git at
apt install lamp-server^
apt install certbot python3-certbot-apache
a2enmod http2 deflate expires # Activate Apache mods
systemctl restart apache2
Don't be hasty in your conclusions.