On 19.11.2011 22:59, Happy Melon wrote:
> "Better" here is clearly in the eye of the beholder.  The system you've
> just described is virtually semantically identical to the Debian/Ubuntu
> setup: you have a load of small vhost files, create a list of them sorted
> however you want, and get apache to load them all in order.  Having the
> list as symlinks is easier and safer to script, as the corresponding OS
> filesystem functions are very well defined, but ordering the list is a
> little more difficult.  If you put the list in httpd.conf as a list of
> includes you are dependent on having a safe and effective system for
> editing it via script, which is substantially harder to develop; but the
> ordering is a little more elegant.
>
> Personally I'd say that the list-of-includes method was the "ugly option"
> "reminding me of ancient programming languages" and the symlink method was
> the "better setup", but there's no cast-iron reason why it should be so;
> it's basically a personal preference.  It's the sort of distinction you'd
> discuss over a beer or ten, not one to discuss with the expectation of a
> meaningful outcome.
>
>
My method does not require creation of symlinks and numeric prefixes, 
that's why it's better. Ancient languages used numeric labels for lines 
of code. Cut / paste of single text line is faster than renaming 
symlinks. Commenting line with # is better as well. These points are 
objective, not subjective. I would stop talking about that yesterday if 
you weren't insisting that it's a personal preference (it's not).
Dmitriy


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to