Hi guys,

I think the next step to complete the docs move to readthedocs is a server
side configuration
to redirect all requests from pytest.org to pytest.readthedocs.org... don't
know anything about the subject, but a quick google search suggests its
easy and quick to setup and test:

http://www.inmotionhosting.com/support/website/redirects/setting-up-a-301-permanent-redirect-via-htaccess

(yeah what a terrible website)

I understand it's just the matter of writing a .htaccess file in the
pytest.org folder with these contents:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^pytest.org [NC,OR]
RewriteCond %{HTTP_HOST} ^https://pytest.org [NC]
RewriteRule ^(.*)$ https://pytest.readthedocs.org/en/$1 [L,R=301,NC]

I wanted to go over the list first in case I'm missing anything obvious,
also I'm wary of messing with the .htaccess site of 37k daily accesses and
I know there are people in the list who knows their way around linux
servers (The-Compiler for example). :)

Cheers,
Bruno.
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to