[cgiwrap-users] Committed changed to cgiwrap - path trans, and added multiuser cgi script dir suppo
Brought to you by:
nneul
From: Nathan N. <nn...@um...> - 2000-09-02 21:25:48
|
I just committed changes to add that patch for the path_translated fix. I've also added support for a shared/common cgi directory. By it's very nature, this shared cgi directory is dangerous and really should not be used unless you're very sure about it, but alot of people have asked for it. The option is: --with-multiuser-cgi-dir=PATH When processing the scriptname that is passed to cgiwrap, it will use the script that is more precisely defined. I.e. if the call specifies a/b/c, and the user has a script "a/b", and the common dir has "a", it will use "a/b" and set path_info to "c". If the user has "a/b" and the common dir has "a/b/c" it will use "a/b/c" and set a blank path_info. This is confusing, but it was the best I could come up with for dealing with the inexact representation of scripts in the URI. Try it out, let me know if it does what y'all needed it to do. For reference, the common function I imagine this being used for is the "create/edit your home page" type of app or a standardized form handler app, where you don't want to install it for all users, but you want things like mail to come from the right account, and you don't want to have excess/extra setuid apps. -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 CIS - Systems Programming Fax: (573) 341-4216 |