Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.3.1.Final, 1.2.13.Final
-
None
Description
This is mostly a user experience issue.
According to what LoadModule and other directives do, one would expect that a path without leading slash is a relative one to the server root.
Setting
- MemManagerFile cache/mod_cluster
- ServerRoot "/home/karm/Projects/MOD_CLUSTER/httpd-2.4.20-build"
Expected result
/home/karm/Projects/MOD_CLUSTER/httpd-2.4.20-build/cache/mod_cluster/ manager.balancer.balancers manager.context.contexts manager.domain.domain manager.host.hosts manager.node.nodes manager.balancer.balancers.lock manager.context.contexts.lock manager.domain.domain.lock manager.host.hosts.lock manager.node.nodes.lock manager.balancer.balancers.slotmem manager.context.contexts.slotmem manager.domain.domain.slotmem manager.host.hosts.slotmem manager.node.nodes.slotmem
Actual result
/cache/mod_cluster/ manager.balancer.balancers manager.context.contexts manager.domain.domain manager.host.hosts manager.node.nodes manager.balancer.balancers.lock manager.context.contexts.lock manager.domain.domain.lock manager.host.hosts.lock manager.node.nodes.lock manager.balancer.balancers.slotmem manager.context.contexts.slotmem manager.domain.domain.slotmem manager.host.hosts.slotmem manager.node.nodes.slotmem
and an empty directory is created in the directory from which the httpd root process was started:
/home/karm/Projects/MOD_CLUSTER/httpd-2.4.20-build/bin/cache/mod_cluster/.
Fix
- leading / should mean absolute path
- without leading / should be relative to ServerRoot