LinuxHelps.com

A blog for Linux Lovers.

17
Oct 2009
Options Directive
Posted in Apache, Monitoring Tools by sibu at 4:11 pm |

Using this Options directive controls  we can set server features  for a particular directory.

Options  can be set to None, in which case none of the extra features are enabled.

All :

All options except for MultiViews. (Default Settings).

ExecCGI :

Execution of CGI scripts using mod_cgi is permitted.

FollowSymLinks :

The server will follow symbolic links in this directory.

Includes :

Server-side includes provided by mod_include are permitted.

Indexes :

If the directory does not contain any  DirectoryIndex (e.g., index.html) in that directory, then mod_autoindex will return a formatted listing of the directory.

MultiViews :

Content negotiated “MultiViews” are allowed using mod_negotiation.

You have to be very care full while using + and - symbols with Options

For example, without any + and - symbols:

<Directory /home/sibu>
Options Indexes FollowSymLinks
</Directory>

<Directory /home/sibu/test>
Options Includes
</Directory>

then only Includes will be set for the /home/sibu/test directory.

If the second Options directive uses the + and - symbols:

<Directory /home/sibu>
Options Indexes FollowSymLinks
</Directory>

<Directory /home/sibu/test>
Options +Includes -Indexes
</Directory>

then the options FollowSymLinks and Includes are set for the /home/sibu/test directory.


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses:

KELLY said:


Medicamentspot.com. Canadian Health&Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. High quality pills. Order pills online

Buy:Lumigan.Arimidex.Retin-A.Human Growth Hormone.Prevacid.Nexium.Zyban.100% Pure Okinawan Coral Calcium.Synthroid.Valtrex.Zovirax.Prednisolone.Mega Hoodia.Actos.Petcam (Metacam) Oral Suspension.Accutane….


JONATHAN said:


MedicamentSpot.com. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. No prescription pills. Order pills online

Buy:Amoxicillin.Nymphomax.Lipothin.Benicar.Zetia.Advair.Lipitor.Seroquel.Acomplia.SleepWell.Prozac.Zocor.Aricept.Female Cialis.Cozaar.Lasix.Wellbutrin SR.Female Pink Viagra.Buspar.Ventolin….


Leave a Reply