Mailing List Archive

FW: Dynamic DocumentRoots revisited
Exactly! I'm not making ANY virtualhost entries in httpd.conf files. I
don't want to make 65000 VirtualHost entries that create server_recs that
suck up so many resources that there isn't much left over for serving. I am
already get the URI translation going where I want without any problems
through my own mechanism. I'm completely past the translation issue. Now,
I *simply* need to be able to set the document_root var for user CGI
processes. I'm playing with some stuff at the Fixup stage now. I'll let
you know if I get it going, so far it's just ignoring the variable when it's
set.

The setting of the DOCUMENT_ROOT var is *strictly* for CGI's only at this
point. Everything else is happy except the CGI's that use this var to make
decisions on file locations (which is very understandable).

-----Original Message-----
From: Clifford Hammerschmidt [mailto:chammers@xaosnet.com]
Sent: Monday, February 28, 2000 11:52 AM
To: Karyn Ulriksen
Subject: RE: Dynamic DocumentRoots revisited


Hmm...

Then you need an a pre-sorted structure to map from hostname -> /.../htdocs
...
If you can't map from SERVER_NAME or HTTP_HOST name to the htdocs path then
I have no idea.

A thought ... how are you getting all 65000 entries into the httpd.conf
file?

At 11:31 AM 2/28/2000 -0800, you wrote:
>mod_vhost_alias comes really close to this, but I would have to strictly
>limit my users ServerNames and ServerAlias to keep sanity - which would end
>up sending them packing to somewhere with less restrictions. No hampering
>is the rule of thumb at the ole web farm...
>
> -K
>
>-----Original Message-----
>From: Clifford Hammerschmidt [mailto:chammers@xaosnet.com]
>Sent: Monday, February 28, 2000 11:31 AM
>To: Karyn Ulriksen
>Subject: RE: Dynamic DocumentRoots revisited
>
>
>At 11:22 AM 2/28/2000 -0800, you wrote:
> >I could tell you how I know what to put in the document root var, but
then
>I
> >would have to kill you....
> >
> >You sound like you know something about unix so I'll answer your when
with
>a
> >question. If you have 65000 directories in a subdirectory, wouldn't you
> >rather not? Scale, my man, Scale.
>
>
>That's why it was functionof(hostname) and not hostname :) (eg,
>/com/x/a/o/s/n/e/t/htdocs ... ok, overkill... but you get the point.)