Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: users

Bad handling of nonexistent URLs on atrpms site

 

 

atrpms users RSS feed   Index | Next | Previous | View Threaded


ed at membled

Mar 15, 2004, 9:30 PM

Post #1 of 3 (119 views)
Permalink
Bad handling of nonexistent URLs on atrpms site

When you try to look at a nonexistent page on the atrpms site, for
example <http://atrpms.physik.fu-berlin.de/dist/rh9/foo/>, it seems to
redirect to <http://atrpms.physik.fu-berlin.de/> instead of giving a
404 http response. This is slightly confusing for the user (was the
URL I entered valid or not? where did it go?) but more importantly
will give bad results if the URL later becomes valid and the browser
has cached the bad redirection, or if for whatever reason a previously
valid URL stops working. Essentially, for all the reasons we have a
separate 404 http response code.

Suggest changing the site so that a bad URL gives a 404 error; the
error document can still have a link to the main page.

--
Ed Avis <ed [at] membled>


Axel.Thimm at atrpms

Mar 15, 2004, 9:54 PM

Post #2 of 3 (119 views)
Permalink
Re: Bad handling of nonexistent URLs on atrpms site [In reply to]

On Mon, Mar 15, 2004 at 08:16:01PM +0000, Ed Avis wrote:
> When you try to look at a nonexistent page on the atrpms site, for
> example <http://atrpms.physik.fu-berlin.de/dist/rh9/foo/>, it seems to
> redirect to <http://atrpms.physik.fu-berlin.de/> instead of giving a
> 404 http response. This is slightly confusing for the user (was the
> URL I entered valid or not? where did it go?) but more importantly
> will give bad results if the URL later becomes valid and the browser
> has cached the bad redirection, or if for whatever reason a previously
> valid URL stops working. Essentially, for all the reasons we have a
> separate 404 http response code.
>
> Suggest changing the site so that a bad URL gives a 404 error; the
> error document can still have a link to the main page.

Thanks, done so. I don't remeber why I changed that back then, it was
not very clever.

BTW atrpms.physik.fu-berlin.de and apt.physik.fu-berlin.de will soon
(a couple of weeks) become atrpms.net and download.atrpms.net
respectively. The old addresses will continue to work for a couple of
months though.
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20040315/1e3a3934/attachment.bin


ed at membled

Mar 15, 2004, 11:08 PM

Post #3 of 3 (114 views)
Permalink
Re: Bad handling of nonexistent URLs on atrpms site [In reply to]

On Mon, 15 Mar 2004, Axel Thimm wrote:

>>When you try to look at a nonexistent page on the atrpms site, for
>>example <http://atrpms.physik.fu-berlin.de/dist/rh9/foo/>, it seems to
>>redirect to <http://atrpms.physik.fu-berlin.de/> instead of giving a
>>404 http response.

>>Suggest changing the site so that a bad URL gives a 404 error;

>Thanks, done so.

Great, thanks.

>BTW atrpms.physik.fu-berlin.de and apt.physik.fu-berlin.de will soon
>(a couple of weeks) become atrpms.net and download.atrpms.net
>respectively.

Well that is a case where you really should have a redirect ;-).

--
Ed Avis <ed [at] membled>

atrpms users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.