Two questions about 404 files

  1. Why do some hosting companies setup the server to use 404 files that use .shtml instead of a regular 404.html?

  2. Why would a 404 file include code to launch another script [!–#exec cgi=“/cgi-sys/fourohfour.cgi” --] when I don’t even use cgi?

Thank you,

Robert

1 Like

Using Server Side Includes the error pages can be modular; multiple pieces reused.

The intention of the CGI script is, likely, for the hosting company to “log” the fact that error occurred.

Please realize 404 is just one of numerous [types of] errors server software can raise and many hosting companies include default pages to cover the most common.

Refer to the HTTP Status codes.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.