Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-20 Thread Ondřej Surý
On Mon, Dec 20, 2010 at 00:27, Stefan Fritsch s...@sfritsch.de wrote: On Monday 13 December 2010, William A. Rowe Jr. wrote: On 12/13/2010 4:35 AM, Stefan Fritsch wrote: On Monday 13 December 2010, Ondřej Surý wrote: On Mon, Dec 13, 2010 at 04:15, William A. Rowe Jr. wr...@rowe- clan.net

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-19 Thread Stefan Fritsch
On Monday 13 December 2010, William A. Rowe Jr. wrote: On 12/13/2010 4:35 AM, Stefan Fritsch wrote: On Monday 13 December 2010, Ondřej Surý wrote: On Mon, Dec 13, 2010 at 04:15, William A. Rowe Jr. wr...@rowe- clan.net wrote: On 12/12/2010 4:23 PM, Stefan Fritsch wrote: On Wednesday

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-13 Thread Ondřej Surý
On Mon, Dec 13, 2010 at 04:15, William A. Rowe Jr. wr...@rowe-clan.net wrote: On 12/12/2010 4:23 PM, Stefan Fritsch wrote: On Wednesday 10 November 2010, Stefan Fritsch wrote: The frequency with which this gets asked seems to make it worthwhile doing something, even if this patch isn't the

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-13 Thread Stefan Fritsch
On Monday 13 December 2010, Ondřej Surý wrote: On Mon, Dec 13, 2010 at 04:15, William A. Rowe Jr. wr...@rowe- clan.net wrote: On 12/12/2010 4:23 PM, Stefan Fritsch wrote: On Wednesday 10 November 2010, Stefan Fritsch wrote: The frequency with which this gets asked seems to make it

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-13 Thread Ondřej Surý
On Mon, Dec 13, 2010 at 11:35, Stefan Fritsch s...@sfritsch.de wrote: On Monday 13 December 2010, Ondřej Surý wrote: On Mon, Dec 13, 2010 at 04:15, William A. Rowe Jr. wr...@rowe- clan.net wrote: On 12/12/2010 4:23 PM, Stefan Fritsch wrote: On Wednesday 10 November 2010, Stefan Fritsch

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-13 Thread Graham Leggett
On 13 Dec 2010, at 5:11 AM, William A. Rowe Jr. wrote: An idea from left field. Is there a reason that DocumentRoot is a virtual host wide setting? Yes, root describes /, there is only one Location /. I can understand why such a setting would be required, but I still don't see why that

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-13 Thread William A. Rowe Jr.
On 12/13/2010 2:33 AM, Ondřej Surý wrote: It's not only about the DOCUMENT_ROOT variable. The main problem is interaction with other modules. Mainly mod_rewrite, which uses the document root for -f and -d checks. Mainly... arguably, mod_rewrite may be in the wrong here. So before

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-13 Thread William A. Rowe Jr.
On 12/13/2010 5:08 AM, Graham Leggett wrote: On 13 Dec 2010, at 5:11 AM, William A. Rowe Jr. wrote: An idea from left field. Is there a reason that DocumentRoot is a virtual host wide setting? Yes, root describes /, there is only one Location /. I can understand why such a setting would

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-13 Thread William A. Rowe Jr.
On 12/13/2010 4:35 AM, Stefan Fritsch wrote: On Monday 13 December 2010, Ondřej Surý wrote: On Mon, Dec 13, 2010 at 04:15, William A. Rowe Jr. wr...@rowe- clan.net wrote: On 12/12/2010 4:23 PM, Stefan Fritsch wrote: On Wednesday 10 November 2010, Stefan Fritsch wrote: The frequency with

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-12 Thread Graham Leggett
On 13 Dec 2010, at 12:23 AM, Stefan Fritsch wrote: I have looked at the patch and it looks reasonable. The fact that two known modules (mod_vhost_ldap and mod_ftp) copy the whole server_rec just to change the document root means that this feature is needed. An idea from left field. Is there

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-12 Thread William A. Rowe Jr.
On 12/12/2010 5:56 PM, Graham Leggett wrote: On 13 Dec 2010, at 12:23 AM, Stefan Fritsch wrote: I have looked at the patch and it looks reasonable. The fact that two known modules (mod_vhost_ldap and mod_ftp) copy the whole server_rec just to change the document root means that this feature

Re: SetVirtualDocumentRoot / per request document root / context root?

2010-12-12 Thread William A. Rowe Jr.
On 12/12/2010 4:23 PM, Stefan Fritsch wrote: On Wednesday 10 November 2010, Stefan Fritsch wrote: The frequency with which this gets asked seems to make it worthwhile doing something, even if this patch isn't the right thing to do. Maybe the larger solution of having a document_root field in