Vulnerability Development mailing list archives

Re: script locations


From: Benjamin Elijah Griffin <bgriffin () gracenote com>
Date: Thu, 7 Jun 2001 16:40:14 -0700


Easy trick for checking if a .html on an Apache server is a CGI or
similar: append a '/' to the URL. If the page loads it wasn't plain
html. Examples:

        http://www.apache.org/index.html        200 OK
        http://www.apache.org/index.html/       404 Not Found

        http://www.wired.com/index.html         200 OK
        http://www.wired.com/index.html/        200 OK

Often times the links on the page (including images) break, but
that's mere cosmetics.

Benjamin


Current thread: