DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=26052>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26052





------- Additional Comments From [EMAIL PROTECTED]  2006-02-06 23:08 -------
Yes, I agree, aliases, vhosts etc are not useless. In fact, I use them to great
effect! Love that tool and run hundreds of sites with them. I do think that
there is significant room for improvement on this particular topic though.

The problem arises when you use 3rd party code that, even though we scream
"DOCUMENT_ROOT IS NOT RELIABLE", assume that DOCUMENT_ROOT is in fact reliable
and functions in a reasonable and intuitive manner. Many languages like PHP make
these assumptions for us (or at least encourage a development practice that
makes the assumption). I spend hours a month dealing with this, taking tech
support emails and tweaking their PHP code so that my users don't hate me. God
forbid they upgrade that tweaked script! :)

So, we are caught in the typical trap, are the DEVELOPERS right or are the
CONSUMERS right. I think the consumers are right in general. Do we force
everyone to code to standards that were enacted years ago, before reliable
virtual hosting was common or do we adapt to this new world where people are
moving exclusively towards vhosting and away from userland hosting? 

To me there are 4 solutions:

1) Screw the consumers, Purity Is Important
2) Add VIRTUAL_DOCUMENT_ROOT and not really solve anything since now everyone
has to change their code and no one will.
3) Make mod_vhost_alias do the Right Thing that consumers expect
4) Add a variable that changes DOCUMENT_ROOT between the two contexts and allow
the webserver admin to select what they believe Purity to be.

And yes, I am fully aware that I should put my time and money where my mouth is
and fix it myself but since I lack the underlying knowledge to do so and lack
the time to get the knowledge I have to defer to the experts and plead my case 
:)

Still gonna keep using mod_vhost_alias, its worth the pain and I spend a lot
less time fixing badly coded PHP then I do managing static vhosts! It has been
an incredible benefit to us and I can not thank the team that put it together
enough, its really been a transformative tool for our business.

John-

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to