[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
RE: alias problem
Carsten,
>>wanting to change a fix I made, but I've been offline for several weeks
due
>>to the passing of my father. Did someone break the URL mapping code in
the
>>interim, or was this still broken?
>IMHO you fixed one thing (automatic dependency checking) by
>introducing DOCUMENT_ROOT and that change broke
>aliasing and some virtual server support.
>By always using DOCUMENT_ROOT on jserv it won't work for aliasing
>and user home dirs. And since DOCUMENT_ROOT is set for the "base"
>server in case of virtual hosts the will/may break to.
The change was made to fix problems, not to cause them. And not to correct
dependency checking, by the way. Without the DOCUMENT_ROOT solution, people
reported receiving "GNUJSP internal error: You must set pagebase to use
translation-time includes with this servlet engine"
Also, back on April 11th, Wes indicated to you that "DOCUMENT_ROOT captures
what the mapping directories are... especially for things like /~wes/ -->
/home/wes/public_html/".
In point of fact, I run a number of virtual hosts on my servers, and the
DOCUMENT_ROOT solution works flawlessly. Without that change, there were
problems, including the "must set pagebase" error. With the change,
everything works.
However, I have found a problem with someone else's system configuration
(backlevel JServ and funky virtual host setup) where DOCUMENT_ROOT is
improperly valued. So my suggestion is that we introduce a "usedocroot"
configuration setting to force DOCUMENT_ROOT or not.
I have not refreshed my copy of the source since before my Dad passed away,
and before you made these changes. Can you make the above change easily?
If so, I'll refresh my source tree after you post the change. Otherwise,
let me know, and I'll make a second copy, and merge the changes.
--- Noel