Proxies, Intranets, mod_rewrite...

Aren't we getting a little carried away? All the guy was trying to do
was have two VHs running off the same DocumentRoot. Now we all know you
can do this with two DocumentRoot directives pointing to the same
directory but that violates the Prime Directive (which is: "Never Define
Anything Twice"). 

Perhaps we need to be able to declare variables (or define
constants...), something like;

DeclareVariable common_doc_root /home/banana/html

<VirtualHost banana:80>
  DocumentRoot common_doc_root
  ...
</VirtualHost>

<VirtualHost banana:443>
  DocumentRoot common_doc_root
  ...
</VirtualHost>

Although I can think of a few reasons why this would be hard to do...
(size of data, how to tell if its a variable or a literal after a
directive etc.)

Rgds,

Owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to