httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54366] New: $sysconfdir/extra/httpd-dav.conf is not built based on $datadir
Date Wed, 02 Jan 2013 16:03:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54366

            Bug ID: 54366
           Summary: $sysconfdir/extra/httpd-dav.conf is not built based on
                    $datadir
           Product: Apache httpd-2
           Version: 2.4.3
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
          Assignee: bugs@httpd.apache.org
          Reporter: mamfelt@gmail.com
    Classification: Unclassified

The default/example webdav configuration file substitutes $prefix rather than
$datadir when creating .../extra/httpd-dav.conf file - unlike
extra/{httpd-multilang-errordoc.conf|httpd-ssl.conf}, and .../httpd.conf.

==========
I am expecting them to all begin with /var/httpd - except where $datadir is
specified.

<Layout AIX>
    prefix:        /opt/httpd
    exec_prefix:   /opt/httpd
    bindir:        ${exec_prefix}/bin
    sbindir:       ${exec_prefix}/sbin
    libdir:        ${exec_prefix}/lib
    libexecdir:    ${exec_prefix}/libexec
    mandir:        /usr/share/man
    datadir:       /var/httpd
    sysconfdir:    ${datadir}/etc
    installbuilddir: ${datadir}/build
    errordir:      ${datadir}/error
    htdocsdir:     ${datadir}/htdocs
    cgidir:        ${datadir}/cgi-bin
    iconsdir:      ${prefix}/icons
    manualdir:     ${prefix}/manual
    includedir:    ${prefix}/include
    localstatedir: /var/httpd
    runtimedir:    ${localstatedir}/run
    logfiledir:    ${localstatedir}/logs
    proxycachedir: ${localstatedir}/proxy
</Layout>
======

example (only looking at <Directory> directive as sample:
root@x104:[/var/httpd/etc/original/extra]grep Directory *
httpd-autoindex.conf:# a file matching those listed in the DirectoryIndex
directive.
httpd-autoindex.conf:<Directory "/opt/httpd/icons">
httpd-autoindex.conf:</Directory>
httpd-dav.conf:<Directory "/opt/httpd/uploads">
httpd-dav.conf:</Directory>
httpd-manual.conf:<Directory "/opt/httpd/manual">
httpd-manual.conf:</Directory>
httpd-multilang-errordoc.conf:<Directory "/var/httpd/error">
httpd-multilang-errordoc.conf:</Directory>
httpd-ssl.conf:<Directory "/var/httpd/cgi-bin">
httpd-ssl.conf:</Directory>
httpd-userdir.conf:<Directory "/home/*/public_html">
httpd-userdir.conf:</Directory>
root@x104:[/var/httpd/etc/original/extra]cd ..
root@x104:[/var/httpd/etc/original]grep Directory *
httpd.conf:<Directory />
httpd.conf:</Directory>
httpd.conf:<Directory "/var/httpd/htdocs">
httpd.conf:</Directory>
httpd.conf:# DirectoryIndex: sets the file that Apache will serve if a
directory
httpd.conf:    DirectoryIndex index.html
httpd.conf:    # need to provide a <Directory> section to allow access to
httpd.conf:<Directory "/var/httpd/cgi-bin">
httpd.conf:</Directory>
root@x104:[/var/httpd/etc/original]

-- 
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


Mime
View raw message