[Catalog-sig] setuptools upload to pypi

"Martin v. Löwis" martin at v.loewis.de
Sat Jul 28 16:22:29 CEST 2007


> RewriteEngine On
> RewriteBase /
> RewriteCond %{REQUEST_METHOD} ^GET$
> RewriteRule ^pypi(.*)$
> http://cheeseshop.python.org/pypi$1?%{QUERY_STRING} [R,L]
> RewriteRule ^pypi(.*)$
> http://cheeseshop.python.org/pypi$1?%{QUERY_STRING} [P,L]

Thanks! I have now activated something like this, namely

RewriteCond %{REQUEST_METHOD} ^GET$
RewriteRule ^/pypi(.*)$ http://pypi.python.org/pypi$1?%{QUERY_STRING} [R,L]
RewriteRule ^/pypi(.*)$ http://pypi.python.org/pypi$1?%{QUERY_STRING} [P,L]

I haven't set RewriteBase, as this is in the central server config
and would affect other rules as well.

Regards,
Martin


More information about the Catalog-SIG mailing list