Re: [cgiwrap-users] patch for handing user-based virtual hosts without~user
Brought to you by:
nneul
From: Neulinger, N. <nn...@um...> - 2006-09-13 12:30:36
|
I'd be open to something like this... I know you sent something in the past as well, but haven't ever had a chance to integrate it... Either or both of the below options sound pretty good. -- Nathan =20 ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-6679 UMR Information Technology Fax: (573) 341-4216 =20 > -----Original Message----- > From: cgi...@li...=20 > [mailto:cgi...@li...] On=20 > Behalf Of Jo Rhett > Sent: Wednesday, September 13, 2006 12:00 AM > To: cgi...@li... > Subject: [cgiwrap-users] patch for handing user-based virtual=20 > hosts without~user >=20 > A bunch of us who use cgiwrap were joking about the fact that=20 > pretty much > everyone downloads cgiwrap and then hacks it to handle their=20 > virtualhost > environments properly, but nobody resubmits the code back to=20 > the main tree. > Kind of silly, everyone reinventing the world each time. And=20 > it's a darn > simple set of patches. >=20 > So I went to my boss and got permission to provide our=20 > versions of this patch. >=20 > The patch I'm proposing would provide a configure option like so: > (option names are pulled from air and better suggestions are welcome) >=20 > --user-directory-level=3D2 >=20 > Would mean that the username is provided in the second level of the > DOCUMENT_ROOT, for example > /home/jrhett/public_html > -or- > /home/jrhett/www/docs > -or- > /servers/jrhett/www > ...etc >=20 > We could instead (or in addition?) have another option for=20 > common paths. > For example: > --user-directory-base=3D/home >=20 > Would mean that the username is provided underneath /home in the > DOCUMENT_ROOT, for example > /home/jrhett/public_html > /home/jrhett/www/docs > ..etc >=20 > Advantages to me and you? No funny ~username mapping=20 > required for virtual > hosts. Or not having to patch each new version after download :-) >=20 > Advantages to the mailing list? Funny rewrite policies are no longer > required. That's usually the bulk of support requests. >=20 > Security considerations: only if DOCUMENT_ROOT can be=20 > overwritten before > cgiwrap is invoked. >=20 > --=20 > Jo Rhett > senior geek > SVcolo : Silicon Valley Colocation >=20 > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > cgiwrap-users mailing list > cgi...@li... > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users >=20 >=20 |