Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

[deleted]


This is not Apache specific. If you take a look at the HTTP protocol, you will see why: Every request has the full path in it (e.g. GET /images/xyz.png HTTP/1.0) , but it is actually optional (in HTTP 1.0) to specify the domain name/host that you want to reach (most browsers send the Host header anyway, because serving multiple domains on one IP would be impossible otherwise).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: