Reference: websites
Migration
https://www.youtube.com/watch?v=HSRghjwTTOQ&list=PLIhvC56v63IJIujb5cyE13oLuyORZpdkL&index=8
Ep for8:
python -m http.server
localhost:8000
python -m http.server:7600
(note no index.html)
php -S 127.0.0.1:8085
npx http-server -p 8086
systemctl start apache2
sudo nano /etc/apache2/ports.conf
(change 80 to something else)
curl (client URL)
curl localhost:7600
curl -o coolwebsite localhost:8080
cat coolwebsite
curl -I localhost:8080. (header only)
clear
curl -v localhost:8080
request and response
wget localhost:7600
Migrated from Apple WikiServer Wiki. Original page F0A1L4f2.ID: F0A1L4f2