#403 Throw a 404 if a hosted project doesn't exist
Closed: Fixed None Opened 16 years ago by glezos.

Instead of 'Evnironment not found' show something more useful (404 with a link to FH frontpage) when a project doesn't exist.


I'm not sure if anything even can be done with this but its worth looking at.

Paul, once our change freeze is over take a look at this if you're interested, if not just reassign it to me.

This ticket is the same as:
https://fedorahosted.org/fedora-infrastructure/ticket/795

This can be done with mod_rewrite as shown in :
http://www.mail-archive.com/trac-users@googlegroups.com/msg08946.html

I tried a couple of things already on this, but since my mod_rewrite-foo is not very good this did not do anything.

This can be done perhaps if i get some assistance from Paul or Mike

So after speaking on #trac, there are two methods of getting this done:

  1. Modify trac code ( not desirable)
  2. Do some mod_rewrite foo

This is done now.

It shows a plain text page now. I have asked the web team to create a more elegant html, waiting on them now.

This is done now
A non-existent project points to a 410 page

Login to comment on this ticket.

Metadata