WebFaction
Community site: login faq
0
1

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

asked 30 Jan '12, 12:40

alex_wf
55
accept rate: 0%

The answer to this will depend on the type of site you are running - can you update your question with that information?

(30 Jan '12, 12:52) seanf

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?

(30 Jan '12, 13:09) alex_wf

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!

permanent link

answered 30 Jan '12, 16:49

seanf
12.2k41836
accept rate: 37%

Thank you very much for your answer. I will try this and I will let you know

(31 Jan '12, 13:48) alex_wf

That worked great for me, thanks!

(02 Feb '12, 14:50) zafm
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×37
×11

question asked: 30 Jan '12, 12:40

question was seen: 1,975 times

last updated: 02 Feb '12, 14:50

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM