httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@ooo.lanl.gov>
Subject sloppy URLs
Date Fri, 07 Apr 1995 13:53:04 GMT


Okay so we can have,

  a missing leading  /
  a missing trailing /     (for directory indexing)
  a superfluous trailing /    e.g. /index.html/


I vote we "404 Not Found" them all. Let's stamp out
patronising stupid users who setup links to the wrong stuff.

True it'll break lots of URLs which have until now been
redirected by the server, but do we want to continue playing
mother forever ?

I'd be willing to setup a custom 404 script response intercept
common bad urls and instead give a suitable "Go fix it" message.

I know some of you won't like this idea, so it probably needs to
be customizable... maybe a "REDIRECT_SLOPPY_URLS on" in a
config file.


robh


Mime
View raw message