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 2016/09/12 12:54:43 UTC

[Bug 60118] New: Cannot assign Samba/CIFS subtree as docroot: "DocumentRoot must be a directory"

https://bz.apache.org/bugzilla/show_bug.cgi?id=60118

            Bug ID: 60118
           Summary: Cannot assign Samba/CIFS subtree as docroot:
                    "DocumentRoot must be a directory"
           Product: Apache httpd-2
           Version: 2.4.23
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: scratch65535@att.net

My server-of-all-work runs FreeBSD 10.2, with Samba 4.3 providing service to 1
W7 and 2 XP clients.  They are all on a lan protected by a pfSense firewall.

Installing Apache 2.4.23 on (this) W7 box for dev purposes, I tried to assign a
subtree on the server as docroot so that the server can play the role of
webserver and I don't have to have source files in multiple locations.  

The subtree is readily accessible via Samba to editors, shells, and the
"explorer" filesystem front end under XP and W7, and also to 2 other FreeBSD
boxes over NFS.  

But I cannot start the httpd service with that docroot assignment; it complains
that docroot must be a directory.  I successively tried Windows drive-letter
mapping (M:), the underlying literal path with Windows syntax (\\server\pages)
and Unix (//server/pages), and the absolute path (//192.168.0.96/pages).  Same
error each time.  I tried creating an account on this machine that mirrors the
Samba account and entered that as a login account for the httpd service.  No
joy.

The service starts and runs fine with a machine-local docroot.

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