Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   Personal configurations and passwd authentication
Date:   2002-03-11 18:37:51
From:   spiffyman
Response to: Personal configurations and passwd authentication

Thanks for the help, but I'm still having problems. The error log reads my static IP address, so I changed the .conf file to read:


<Directory "/Users/jboyd/Sites/">
Options -Indexes MultiViews
AllowOverride All
Order deny,allow
Deny from all
Allow from my.address.is.here
</Directory>


Still Forbidden, and still no password authentication. Also, I still can't access the DocumentRoot using localhost or 127.0.0.1. I didn't think my personal .conf file or my .htaccess file would change that. Am I missing something?


Thanks a bunch.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Morbus Iff photo Personal configurations and passwd authentication
    2002-03-13 20:15:36  Morbus Iff | O'Reilly Author [View]

    What do you have in the /Users/jboyd/Sites/ directory? Is there a index.html or index.htm file in there? As it is now, with "-Indexes" turned off in your config, I'm thinking that Apache's trying to resolve an index *first*, before the user authentication.

    First things first, change "-Indexes" to just place old "Indexes", so that automatic indexes are created. THEN try getting to /~jboyd/ and tell me what you see.

    Concerning your DocumentRoot, no, an .htaccess file shouldn't be able to harm that, but using you could do some damage with your user .conf file. If the .conf file is all you've shown me here though, then it shouldn' t be a problem.

    Finally, what are the contents of your error_log, shortly after you get the 403 Forbidden error message?