WebFaction
Community site: login faq

I want to make a directory under my Django app (the Sphinx documentation) available at a URL, but I'd like to add Apache Basic Authentication to it. How would I do that? Putting an .htaccess file in the directory doesn't seem to make a difference.

asked 19 Feb '13, 11:48

tclancy
861615
accept rate: 6%


You cannot add password protection to a static-only directory. If you need password protection, then use a static/cgi/php symlink instead. Hope that helps!

permanent link

answered 19 Feb '13, 12:22

seanf
12.2k41936
accept rate: 37%

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:

×225
×69
×1

question asked: 19 Feb '13, 11:48

question was seen: 3,501 times

last updated: 19 Feb '13, 12:22

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