From 8c42cf0cbd87f344748423f235938dd6ade03f55 Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Tue, 1 Mar 2016 16:02:09 +0000 Subject: [PATCH] Fixed #26303 -- Updated links to mod_wsgi docs. --- docs/howto/deployment/wsgi/apache-auth.txt | 4 ++-- docs/howto/deployment/wsgi/modwsgi.txt | 4 ++-- tests/auth_tests/test_handlers.py | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/howto/deployment/wsgi/apache-auth.txt b/docs/howto/deployment/wsgi/apache-auth.txt index 9246c081e7..e6fea98c85 100644 --- a/docs/howto/deployment/wsgi/apache-auth.txt +++ b/docs/howto/deployment/wsgi/apache-auth.txt @@ -97,8 +97,8 @@ Requests beginning with ``/secret/`` will now require a user to authenticate. The mod_wsgi `access control mechanisms documentation`_ provides additional details and information about alternative methods of authentication. -.. _Defining Application Groups: https://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines#Defining_Application_Groups -.. _access control mechanisms documentation: https://code.google.com/p/modwsgi/wiki/AccessControlMechanisms +.. _Defining Application Groups: https://modwsgi.readthedocs.org/en/develop/user-guides/configuration-guidelines.html#defining-application-groups +.. _access control mechanisms documentation: https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html Authorization with ``mod_wsgi`` and Django groups ------------------------------------------------- diff --git a/docs/howto/deployment/wsgi/modwsgi.txt b/docs/howto/deployment/wsgi/modwsgi.txt index a3d5e8a571..988ff8a389 100644 --- a/docs/howto/deployment/wsgi/modwsgi.txt +++ b/docs/howto/deployment/wsgi/modwsgi.txt @@ -140,7 +140,7 @@ to the configuration above: See the official mod_wsgi documentation for `details on setting up daemon mode`_. -.. _details on setting up daemon mode: https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process +.. _details on setting up daemon mode: https://modwsgi.readthedocs.org/en/develop/user-guides/quick-configuration-guide.html#delegation-to-daemon-process .. _serving-files: @@ -198,7 +198,7 @@ If you are using a version of Apache older than 2.4, replace .. More details on configuring a mod_wsgi site to serve static files can be found .. in the mod_wsgi documentation on `hosting static files`_. -.. _hosting static files: https://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines#Hosting_Of_Static_Files +.. _hosting static files: https://modwsgi.readthedocs.org/en/develop/user-guides/configuration-guidelines.html#hosting-of-static-files .. _serving-the-admin-files: diff --git a/tests/auth_tests/test_handlers.py b/tests/auth_tests/test_handlers.py index c0751a0825..600d9bb834 100644 --- a/tests/auth_tests/test_handlers.py +++ b/tests/auth_tests/test_handlers.py @@ -25,7 +25,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase): def test_check_password(self): """ Verify that check_password returns the correct values as per - http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Authentication_Provider + https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider """ User.objects.create_user('test', 'test@example.com', 'test') @@ -46,8 +46,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase): def test_check_password_custom_user(self): """ Verify that check_password returns the correct values as per - http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Authentication_Provider - + https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider with custom user installed """ @@ -65,7 +64,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase): def test_groups_for_user(self): """ Check that groups_for_user returns correct values as per - http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Group_Authorisation + https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-group-authorisation """ user1 = User.objects.create_user('test', 'test@example.com', 'test') User.objects.create_user('test1', 'test1@example.com', 'test1')