For simple websites you can have a look at the URL. If the server
doesn't do any mapping, redirecting, etc., the URL will end with the
file name, e.g.
http://localhost/test.html. In all other cases the points of the FAQ entry I linked to should be considered.
Sebastian