|
#33
| ||||
| ||||
| Really anywhere should be fine I guess. I put it after the DocumentRoot directive. |
|
#34
| ||||
| ||||
| Changes under OS X Server 10.2? I've followed the directions given by Jadey above, and restarted Apache, but when I view the directory I've protected, there's no request for a username/password. I noticed the following things (which may be quirks of my server installation or perhaps changes since OS X Server 10.1): Within /private/etc/httpd/httpd.conf, the "AllowOverride None " directive was commented out, along with the entirety of the (httpd authorization?) section. Following the instructions, I received an error when I tried to restart Apache. When I uncommented all the directives within the httpd authorization section of httpd.conf, the error did not recur and Apache restarted. Additionally, there is a comment in the same section as follows: #### For Mac OS X Server: Any directives in this directory block will be #### overridden by the ones in the virtual hosts in httpd_macosxserver.conf. Here's the setup: Running OS X Server 10.2 on a G4 (not an Xserve). Trying to protect a directory within a subdomain: http://seth.foofoofooseth.com/protect/ When I go to the protected directory, it does not prompt for a username/password. Any suggestions? Do I need to edit the virtual domains listed in httpd_macosxserver.conf? Are there overriding "default" configurations in httpd.conf or httpd_macosxserver.conf which are foiling my plans? |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| password problems with apache | macidiot | Design & Media | 1 | January 31st, 2003 11:55 PM |
| password protect a document/file | chicodoggy | Mac OS X System & Mac Software | 2 | October 6th, 2002 12:49 PM |
| updating from 10.1.x to 10.2 turns off password protection for apache served websites | couzteau | Unix & X11 | 6 | September 25th, 2002 04:43 PM |
| is it possible to password protect folders? | Torz | Mac OS X System & Mac Software | 8 | September 14th, 2002 12:08 PM |
| [HOWTO] - Password protect files and/or folders? | themacko | HOWTO & FAQs | 5 | June 19th, 2002 06:34 PM |