Homework help

Discussion in 'Apache' started by HollyWhite, Sep 26, 2013.

  1. #1
    Pretty lost here and the more I read my text book the more I am realizing that it doesn't have the answer. Trying to add a directive that will allow access to a specific directory only to host names that end with .org or .edu. Disallow the use of a .htaccess and do not allow a browser to display a listing of the directory contents. I have been playing around with this format. But still pretty lost. Thank you in advance.

    <Directory />

    Options FollowSymLinks

    AllowOverride None

    Order allow,deny

    Allow from all

    </Directory>

    '
     
    HollyWhite, Sep 26, 2013 IP
  2. BreezeHost

    BreezeHost Member

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    28
    #2
    Please check below URL's which will help you to do this :
    http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
    http://publib.boulder.ibm.com/httpserv/manual60/mod/mod_access.html
     
    BreezeHost, Oct 3, 2013 IP