I'm using mod_wsgi to serve a couple django sites on a WHM/cpanel
server. I'd like to use basic auth to password protect the
development server, but I'm having difficulty applying the
instructions from this guide (http://code.google.com/p/modwsgi/wiki/
AccessControlMechanisms). I'm guessing I need to enter the info in my
vhost include file, which looks like this:
#/usr/local/apache/conf/userdata/std/2/account/dev.site.com/vhost.conf
<IfModule mod_alias.c>
Alias /robots.txt /home/account/public_html/dev/site/media/robots.txt
Alias /media /home/account/public_html/dev/site/media
Alias /admin_media /home/account/public_html/dev/site/media/
admin_media
</IfModule>
<IfModule mod_wsgi.c>
WSGIScriptAlias / /home/account/public_html/test.wsgi
WSGIDaemonProcess nobody processes=2 threads=5 display-name=%{GROUP}
WSGIProcessGroup nobody
WSGIApplicationGroup %{GLOBAL}
</IfModule>
Please show me how to setup basic auth for this development site.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---