Differences

This shows you the differences between two versions of the page.

Link to this comparison view

apache_options_directive [2012/07/05 12:37]
apache_options_directive [2012/07/05 12:37] (current)
Line 1: Line 1:
 +====== Apache Options Directive ======
  
 +  * [[Apache]]
 +  * [[http://​httpd.apache.org/​docs/​2.2/​mod/​core.html#​options|mod_core]]
 +
 +There are two ways to set Options for Apache. ​ You can have it set all the permissions directly, or inherit them from a parent.
 +
 +Stating the Options directly will use only those:
 +
 +<​code>​
 +Options ExecCGI FollowSymLinks SymLinksIfOwnerMatch
 +</​code>​
 +
 +Setting the Options using ''​+''​ or ''​-''​ will inherit the parent'​s permissions,​ and then modify them:
 +
 +<​code>​
 +Options +ExecCGI -Indexes
 +</​code>​
 +
 +If you get a ''​403 Forbidden''​ error from Apache, most likely you need both ''​FollowSymLinks''​ and ''​SymLinksIfOwnerMatch''​ set, either globally or per-host.