|
Step4: Change access to forbidden for the root directory
|
bet | 8/10 | Sana | 15.03.2017 | Hajmi | 36,92 Kb. | | #53 |
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
|
| |