Ravi Sir's Cyber Security Cards › Revision Cards
Amazon Linux 2023 + Apache
Amazon Linux 2023 + Apache Hosting a website with Apache (httpd) on Amazon Linux 2023. Apache won’t start because Nginx is already on port 80. Only one program can use a port. Check with sudo ss -tlnp | grep :80 . Make an empty folder and open it in the browser. With Options -Indexes , you should ge

Read card text
What this card says
What it is
Hosting a website with Apache (httpd) on Amazon Linux 2023.
Common mistake
Apache won’t start because Nginx is already on port 80.
Only one program can use a port. Check with sudo ss -tlnp | grep :80.
Security check
Make an empty folder and open it in the browser.
With Options -Indexes, you should get 403 Forbidden, not a file list.
Learn more in the lesson: 8.3 Amazon Linux 2023 + Apache