You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/01/17 23:05:03 UTC
not a bug actually, minor suggestion for mod_userdir.c (fwd)
Hmmm. How common is this ?. If it's not that common then this is
one for the patches dir at best.
(I hope it attaches properly).
---------- Forwarded message ----------
Date: Fri, 17 Jan 1997 13:33:15 -0800
From: Stuart Lynne <sl...@wimsey.com>
To: apache-bugs@apache.org
Subject: not a bug actually, minor suggestion for mod_userdir.c
Attached is patch which allows UserDir to have following capability:
UserDir /home/+/public_html
Using the + instead of * tells it to expand to:
/home/u/userid/public_html
instead of
/home/userid/public_html
In otherwords move the users directories down one level into a directory
based on the first character of their userid.
This makes supporting web servers with homepages for several thousands
of users a little easier.
--
Stuart Lynne <sl...@poste.com> 604-933-1000 <http://www.poste.com>
PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 88 EC A3 EE 2D 1C 15 68
Re: not a bug actually, minor suggestion for mod_userdir.c (fwd)
Posted by Marc Slemko <ma...@znep.com>.
Making directory structures on a somewhat tiered level (heck,
/u/m/s/mslemko is my homedir on some server) isn't unusual, but:
- many people have the people in the password file, so it doesn't
matter
- other people use different structure, so no one patch will
work for any large number of sites.
- if you are a large site and can't hack it in yourself, you have
other things to worry about.
I think it could go to the "semi-hack patches for very site-specific
things" directory; having source means you can do these things very
easily, and examples don't hurt.
On Fri, 17 Jan 1997, Rob Hartill wrote:
>
> Hmmm. How common is this ?. If it's not that common then this is
> one for the patches dir at best.
>
> (I hope it attaches properly).
>
> ---------- Forwarded message ----------
> Date: Fri, 17 Jan 1997 13:33:15 -0800
> From: Stuart Lynne <sl...@wimsey.com>
> To: apache-bugs@apache.org
> Subject: not a bug actually, minor suggestion for mod_userdir.c
>
>
> Attached is patch which allows UserDir to have following capability:
>
> UserDir /home/+/public_html
>
> Using the + instead of * tells it to expand to:
>
> /home/u/userid/public_html
>
> instead of
>
> /home/userid/public_html
>
> In otherwords move the users directories down one level into a directory
> based on the first character of their userid.
>
> This makes supporting web servers with homepages for several thousands
> of users a little easier.
>
> --
> Stuart Lynne <sl...@poste.com> 604-933-1000 <http://www.poste.com>
> PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 88 EC A3 EE 2D 1C 15 68
>