Comment 2 for bug 518827

Revision history for this message
StefanPotyra (sistpoty) wrote : Re: [Bug 518827] Re: http://revu.ubuntuwire.com/p/zope.index unreviewable ("index" removed from URL)

Hi,

Am Monday 08 February 2010 15:12:03 schrieb Siegfried Gevatter:
> You can use http://revu.ubuntuwire.com/details.py?package=zope.index as
> a workaround.
>
> I'm not sure what's wrong. Does someone see the mistake here?
>
> RewriteCond %{THE_REQUEST} /p/
> RewriteRule ^p/(.+)$ /details.py?package=$1

maybe that part (right before the snippet) is responsible?

# Get rid of "index" in directories:
RewriteCond %{THE_REQUEST} index
RewriteRule ^(.*)index(?:\.py)?(\?.*)?$ /$1$2 [R=301,L]

Cheers,
    Stefan.