Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question with Directory & Location containers

Status
Not open for further replies.

xoom

Technical User
Jul 11, 2002
1
AU
Hi, I am a newbie in Apache web server, could anyone answer this simple question? When the following directives are placed in that order in the config file, will SSI be still functional in the htdocs directory? Will the Options directive in the htdocs directory be overriden by the Options directive in the <Location /> container and therefore disable SSI? I am unsure because this first Directory directive is pointing to the htdocs dir with the below Options directive, enabling SSI. Then if the Location directive points to the root URL, isn't it pointing to the htdocs dir as well? And instead of overriding the Options directive, it just appends the Options directive in the htdocs dir, hence SSI is still enabled. Or am I missing something here? Thanks, people, I really appreciate your help with this...

<Directory &quot;/usr/local/apache/htdocs&quot;>
Options Indexes FollowSymLinks Includes
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

<Location />
Options Indexes
</Location>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top