> 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
_______________________________________________
Catalog-SIG mailing list
[email protected]
http://mail.python.org/mailman/listinfo/catalog-sig

Reply via email to