diff options
author | andreas <andreas@immerda.ch> | 2008-04-29 10:14:55 +0000 |
---|---|---|
committer | andreas <andreas@immerda.ch> | 2008-04-29 10:14:55 +0000 |
commit | 589f4f5e2d816807db0493f6ad36c31b8be2f87d (patch) | |
tree | c2563d283be20594b6dd5a595d947765e0b22ce6 /files/modules.d/Gentoo/00_mod_userdir.conf | |
parent | 15b347f668a6429501c5f14faed8546b1af006cb (diff) |
${operatingsystem} = Gentoo not gentoo
Diffstat (limited to 'files/modules.d/Gentoo/00_mod_userdir.conf')
-rw-r--r-- | files/modules.d/Gentoo/00_mod_userdir.conf | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/files/modules.d/Gentoo/00_mod_userdir.conf b/files/modules.d/Gentoo/00_mod_userdir.conf new file mode 100644 index 0000000..3fb6911 --- /dev/null +++ b/files/modules.d/Gentoo/00_mod_userdir.conf @@ -0,0 +1,40 @@ +# Settings for user home directories + +<IfDefine USERDIR> +<IfModule userdir_module> + +# UserDir: The name of the directory that is appended onto a user's home +# directory if a ~user request is received. Note that you must also set +# the default access control for these directories, as in the example below. +UserDir public_html + +# Control access to UserDir directories. The following is an example +# for a site where these directories are restricted to read-only. +<Directory /home/*/public_html> + AllowOverride FileInfo AuthConfig Limit Indexes + Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec + <Limit GET POST OPTIONS> + Order allow,deny + Allow from all + </Limit> + <LimitExcept GET POST OPTIONS> + Order deny,allow + Deny from all + </LimitExcept> +</Directory> + +# Suexec isn't really required to run cgi-scripts, but it's a really good +# idea if you have multiple users serving websites... +<IfDefine SUEXEC> +<IfModule suexec_module> +<Directory /home/*/public_html/cgi-bin> + Options ExecCGI + SetHandler cgi-script +</Directory> +</IfModule> +</IfDefine> + +</IfModule> +</IfDefine> + +# vim: ts=4 filetype=apache |