"Tokyo": can't serve web file

Scenario: "Tokyo": can't serve web file

Level: Medium

Type: Fix

Tags: apache   realistic-interviews  

Description: There's a web server serving a file /var/www/html/index.html with content "hello sadserver" but when we try to check it locally with an HTTP client like curl, nothing is returned. This scenario is not about the particular web server configuration and you only need to have general knowledge about how web servers work.

Test: curl should return: hello sadserver

Time to Solve: 15 minutes.

Static Badge      X (formerly Twitter) Follow      GitHub Repo stars      Mastodon Follow      Uptime Robot ratio (30 days)
Updated: 2024-05-05 16:37 UTC – 8608ebc