summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@thenicols.net>2016-03-01 16:02:09 +0000
committerTim Graham <timograham@gmail.com>2016-03-01 19:22:32 -0500
commit8c42cf0cbd87f344748423f235938dd6ade03f55 (patch)
tree56ea8bd4223785d88355664776c70b1a2f45caad
parent33db899a21387b8a00e881a06bd8e085482d30c2 (diff)
downloaddjango-8c42cf0cbd87f344748423f235938dd6ade03f55.tar.gz
Fixed #26303 -- Updated links to mod_wsgi docs.
-rw-r--r--docs/howto/deployment/wsgi/apache-auth.txt4
-rw-r--r--docs/howto/deployment/wsgi/modwsgi.txt4
-rw-r--r--tests/auth_tests/test_handlers.py7
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')