• /etc/init.d/apache2 restart
  • Step4: Change access to forbidden for the root directory




    Download 36.92 Kb.
    bet8/10
    Sana15.03.2017
    Hajmi36.92 Kb.
    #53
    1   2   3   4   5   6   7   8   9   10

    Step4: Change access to forbidden for the root directory


    In Step 4 you will make browsing the directory structure for the root “forbidden”.

    • Forbidden directory browser for document root “/”

    Look for this line “Options Indexes FollowSymLinks” and delete “Indexes”

    • Allow directory browsing for sub directory “/apachelab/ITIS2110”

    The previous command forbids directory listings for root and all it’s subdirectories. Now we want to allow listings for the subdirectory ITIS2110 and its subdirectories. Double-check that the Directory tag for the ITIS2110 has the Options Indexes somewhere in it. E.g.



    Options Indexes FollowSymLinks Multiviews

    There may be other values with the Options.



    /etc/init.d/apache2 restart

    Applications -> Internet -> Iceweasel Web Browser

    ** Document your results for both the blocked and unblocked browses

    Download 36.92 Kb.
    1   2   3   4   5   6   7   8   9   10




    Download 36.92 Kb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Step4: Change access to forbidden for the root directory

    Download 36.92 Kb.