Possibly useful httpd extension (based on httpd 1.1)

jonl@hal.com (frederick smythe, esquire)
Errors-To: listmaster@www0.cern.ch
Date: Wed, 16 Feb 1994 22:45:07 --100
Message-id: <9402162142.AA24386@gorn.hal.com>
Errors-To: listmaster@www0.cern.ch
Reply-To: jonl@hal.com
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: jonl@hal.com (frederick smythe, esquire)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Possibly useful httpd extension (based on httpd 1.1)
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 1025

I was setting up two http servers, one internal and one external,
and decided that the way I wanted to do the external one was to
have one nfs-mounted partition which our firewall machine mounted
from inside to contain data which users wanted to make available
to people outside.   Since I don't have users in /etc/passwd, I
couldn't use the ~user method of things, and I didn't want to have
to keep adding symlinks, or Alias directives everytime a new user
wanted put something up, so I ended up add a HomeOverride variable
in srm.conf, vaguely similar to UserDir.

If HomeOverride is defined, it is used as the directory to expand
the the ~ in ~user to.  Ie, specifying 

HomeOverride  /www-external/users

makes requests for ~user to become /www-external/users/user.

I then set UserDir to DISABLED since i had no need for the 
public_html subdir method.

If people think this is more generally useful, I'd be happy to
send Rob my patches to stock 1.1.

<a href="http://www.echo.com/~falcon/sg.html">jon r. luini</a>