Hi Bill,

On 01.05.2014 22:52, Bill Allombert wrote:
> [[ I think it is possible to use subdirectories of /srv as long as we prompt
> the user for the directory structure to use, but that seems totally
> unpractical for tthe purpose of the Document Root.
> ]]

... and not good enough. For some use cases, e.g. Apache, we need to
know the Document Root at build time. Apache does statically compile the
path in for apache2-suexec for example. Other web servers might do
something similar (or not).

> I have made a first minimal draft.
> Please comment.
> 
> diff --git a/policy.sgml b/policy.sgml
> index bf959f1..5661f4b 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -7043,6 +7043,11 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
>               </p>
>             </item>
>             <item>
> +                <p>
> +                  The <file>/var/www</file> directory is additionally 
> allowed. 
> +                </p>
> +           </item>
> +           <item>
>               <p>
>                 On GNU/Hurd systems, the following additional
>                 directories are allowed in the root
> @@ -9752,7 +9757,7 @@ http://localhost/cgi-bin/.../<var>cgi-bin-name</var>
>               <package>doc-base</package> package.  If access to the
>               web document root is unavoidable then use
>               <example compact="compact">
> -/var/www
> +/var/www/html
>               </example>
>               as the Document Root.  This might be just a symbolic
>               link to the location where the system administrator

Fine with me, thanks.

-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to