So, I made a simple html, css and JS webpage, and I used and configured httpd to make it available on my local network. It works flawlessly when you curl localhost or the local ip of my PC
Now, I want to make it available on the internet to show the webpage to others, so I port forwarded my router, to make the :80 requests go to my PC
The problem is, when I curl my public ip, I just get “curl: (1) Received HTTP/0.9 when not allowed”
instead of the webpage.
What can I do?
I’m running Fedora 40 with a wired connection.
With a tp-link router
$ curl -vv ************
output:
* Trying **********:80...
* Connected to *********** (***********) port 80
> GET / HTTP/1.1
> Host: ***********
> User-Agent: curl/8.6.0
> Accept: */*
>
* Received HTTP/0.9 when not allowed
* Closing connection
curl: (1) Received HTTP/0.9 when not allowed