You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/06/28 09:02:48 UTC

DO NOT REPLY [Bug 45302] New: ServerRoot directive

https://issues.apache.org/bugzilla/show_bug.cgi?id=45302

           Summary: ServerRoot directive
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_vhost_alias
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: satana.hell@gmail.com


I propose to add ServerRoot directive to the module configuration. Only one
example of benefits:

VirtualDocumentRoot /var/www/vhosts/%-2.0.%-1/%-3+/htdocs
VirtualServerRoot /var/www/vhosts/%-2.0.%-1/%-3+

<Directory /var/www>
        Options         ExecCGI FollowSymlinks
        AllowOverride   All
        Order           allow,deny
        Allow           from all
        Dav On
        AuthType Basic
        AuthName DAV-access
        AuthUserFile .passwd
        <LimitExcept GET POST OPTIONS>
                Require valid-user
        </LimitExcept>
</Directory>

This will allow WebDAV access to each VirtualHost  using .passwd file in it
ServerRoot.

P.S. May be it would be better to completely replace current
VirtualDocumentRoot directive by VirtualServerRoot directive and add some
directives providing relative paths to VirtualServerRoot: VirtualCustomLog,
VirtualErrorLog, VirtualDocumentRoot e.t.c.?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org