|
Is it possible (and how) to configure any of my websites hosted in webfaction to be private? By private I mean that I would like the site not to be public but visible only to some people/ips. Thanx in advance |
|
If want to use HTTP basic authentication to password-protect your entire Django application, you can use the instructions here: Apache Basic Authentication for mod_wsgi (inc. Django) applications If you want to restrict access to your Django application by IP address, you can use the instructions here: Allowing access to single IP with authz module not working Hope that helps! Thank you very much for your answer. I will try this and I will let you know That worked great for me, thanks! |
The answer to this will depend on the type of site you are running - can you update your question with that information?
Thank you for your immediate feedback. Can you explain me what do you mean by saying the type of the site I am running? May be application type Django 1.2.7 (mod_wsgi 3.2/Python 2.6) helps?