Apache Web-Serving with Mac OS X: Part 3
Subject:   no access through
Date:   2002-03-15 08:06:42
From:   axel_vogelsang

First of all thanks for that great series. I have a little problem though. Everything is running and I can access all my Files in my user folder and on the root level through the browser. But as soon as I exchange the "Allow from all" in the httpd.conf with my ip-adress, the access is denied. Please help. Thanks

<Directory "/Library/WebServer/Documents">
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride None
Order deny,allow
Deny from all
Allow from 217.37...

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Morbus Iff photo no access through
    2002-03-15 12:22:10  Morbus Iff | O'Reilly Author [View]

    Couple of notes:

    When you add the "Allow" from line, are you using your full IP address, or the example shown above (this is a stupid question, but I just have to make sure)? If you're using the 217.37 with three periods after it, it will fail.

    The entry above will *only* work on your root directory (not your user directories0. So, when you access your root directory and get denied, check your error_log - there's a good chance that you're actually browsing as, and not the 217 address. The error_log will report what IP is being denied.