AFP548 Changing the world one server at a time.

Quick Apache question…

Home › Forums › OS X Server and Client Discussion › Web › Quick Apache question…

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #361851
    Anonymous
    Guest

    My setup:

    Apache 1.3 on mac xserve with virtual hosting setup…

    I have a problem with my server when I turn off “Performance Cache” in the GUI My site returns a “You do not have permission to access….” error when trying to get to my site… I am wondering if this little directory code is causing the problem??

    Here is my logic… right now with “performance cache” turned on the box sees everyone as coming from itself which is 111.111.111.19 so it allows everyone to access what they need to access… when I turn performance cache off the box see everyone coming from their own “true” IP addresses and Denys them access.

    Here is the code:


    Order Deny,Allow
    Deny from All
    Allow from 111.111.111.19

    Is my logic correct? Or am I completely not understanding the way Apache works??

    #361852
    Anonymous
    Guest

    Sorry had to put the tag in quotes to get it to show up…

    "<Directory "/Library/WebServer/Documents">
    Order Deny,Allow
    Deny from All
    Allow from 111.111.111.19
    </Directory>"

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.