[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

apache ServerRoot change



John Pollard wrote on 1/7/05 11:30 AM:
> In moving from Jaguar to Panther I see that ServerRoot has changed in 
> httpd.conf from "/Library/WebServer" to "/usr".
> 
> My webserver files are all under /Library/WebServer/Documents and I know 
> there is a separate DocumentRoot setting for that.
> 
> I'm not sure what the significance of ServerRoot is.

ServerRoot is the start of the path to Apache's shared libraries 
(e.g. mod_log_config.so) live ($ServerRoot/httpd/libexec/). 
DocumentRoot is where your content (e.g. index.html) lives.

>I tried changing it 
> from /usr to /Library/WebServer and apache wouldn't start with an error 
> of "Cannot load ... mod_log_config.so ... (reason unknown)"

If apache can't find it's shared libraries, it'll fail on startup 
with messages like the one you reported.

> I am looking at the apache config because my JC app fails with Panther 
> when used via apache / WO adapter - but is ok when used via direct connect.

DirectConnect passes your request straight from the browser to WO, 
completely bypassing the webserver. This explains why your app works 
with DC and fails when you try to go through the webserver.

zak.


> 
> Thanks
> John
> 
> _______________________________________________
> WebObjects-admin mailing list
> WebObjects-admin@xxxxxxxxxxxxx
> http://www.omnigroup.com/mailman/listinfo/webobjects-admin
>