image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #33  
Old March 16th, 2003, 02:08 PM
hazmat's Avatar
Rusher of Din
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 1,803
Thanks: 0
Thanked 0 Times in 0 Posts
hazmat is on a distinguished road
Really anywhere should be fine I guess. I put it after the DocumentRoot directive.
Reply With Quote
  #34  
Old October 6th, 2003, 02:45 PM
setho's Avatar
Registered User
 
Join Date: Jan 2002
Location: Portland, OR
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
setho is on a distinguished road
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?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

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


All times are GMT -5. The time now is 10:32 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.