httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18101] - ServerRoot cannot be set to other folder
Date Wed, 19 Mar 2003 09:53:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18101>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18101

ServerRoot cannot be set to other folder





------- Additional Comments From fgenolini@hotmail.com  2003-03-19 09:53 -------
Thanks for your help.

Here is the error message:

Syntax error on line 13 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf
:
Cannot load C:/MyWeb/Web/modules/mod_access.so into server: The specified module
 could not be found.

I have copied the modules directory and Apache starts.

Rationale for modifying ServerRoot:
The documentation for Apache says that ServerRoot is used to determine the base 
directory for log files and configuration files.
It never mentioned that it was also used as the base directory for binaries, 
shared libraries and modules.

Maybe the docs need to be updated; but I would rather think this is a coding 
error.
I would assume that when Apache starts, it remembers where it starts from: the 
eveidence for this is that Apache knows where to find the httpd.conf file 
(located in ../conf).
Therefore there should be no problem in accessing the modules in ../modules, 
regardless of the setting for ServerRoot.

I believe that this used to be the behaviour before (2.0.39 I seem to remember).
The code has benn modified wrongly, I would think (at least not in keeping with 
the published specs as described in the docs).

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


Mime
View raw message