Article View: news.software.nntp
Article #18598INNGUP3W v0.12 is ready and tested
From: Yar Tikhiy
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
144 lines
5590 bytes
5590 bytes
Hello, A new version of INNGUP3W is ready. It proved to be stable and not as resource-consuming as early vesions were. The main improvement since version 0.11 is that you can use .htaccess file for access control instead of gup3w's quite insecure own scheme. See <http://comp.chem.msu.su:8080/gup3w-dev/> for details. ====================================================================== DESCRIPTION INNGUP3W is a tool that allows your feeds to control their 'patterns' parts of your INN's newsfeeds file by means of WWW. SYSTEM REQUIREMENTS Your system must have the following things: - INN 1.4.x or 1.5.x; - Perl 4.x or 5.x (tested with 4.036 and 5.001); - a HTTP daemon run with 'news' uid (tested with Apache HTTPD 1.1.x) OPERATION MODES INNGUP3W can operate either in standalone mode when it manages your newsfeeds file itself or in gup-compatible mode when it modifies gup's 'groups' files and then uses gupdate or similar script to rebuild newsfeeds. Important!!! Your gup should be built with FILE_LOCK option. INSTALLATION 1. BACKUP YOUR NEWSFEEDS FILE OR GUP SITE LISTS. INNGUP3W is alpha-quality and may have bugs that will mangle your newsfeeds file or gup site lists. 2. Edit the first 3 lines of Makefile to match the directory where you are going to put the gup3w script (it's not a real directory, but the local part of the URL), your C compiler and its flags. 3. Run 'make all'. 3. Copy 'gup3w' and 'config' files into your CGI tree. 4. If you are going to use authentication capabilities of your httpd then go to step 8, otherwise go to step 5. 5. Copy 'gup3w.html' file into your WWW document tree. 6. Create somewhere outside your WWW tree a password file with lines consisting of 'site:password' pairs (sample file included). 7. Go to step 9. 8. Refer your httpd manual and select an authentication method. The following instructions are for users of Apache HTTPD. Create .htaccess file in the directory where you placed gup3w script. Edit access.conf to make .htaccess file there work. Create a user database somewhere and fill it with user-password pairs. A sample file dot.htaccess using AuthUserFile directive included into the distribution. An utility for building text user database called mkauth also included. It expects 'user:password' pairs on stdin and outputs 'user:crypted password' ones to stdout. Of course, you may want to use DB or DBM databases of users or MD5 encryption. But you have to build the databases with your own tools in these cases (there are a few ready-to-use tools for Apache HTTPD). 9. Edit 'config' file to match your system. NOTE that you should supply an URL to the CGI script itself to your feeds if you use httpd authentication and an URL to the front page 'gup3w.html' if you use gup3w's authentication. NOTES If you don't like that a few httpds sleep permanently in your newsserver's memory, set up your httpd to be started by inetd with 'news' uid. I did so. HISTORY 0.01: - the first functional version. 0.02: - this file was written; - some bugs were fixed. 0.03: - gup-compatible mode implemented - thanks to Andy Vasilyev (andy@demos.su) for the idea; - pattern order is preserved. 0.04: - a bug about $inn'locks fixed. 0.05: - gup3w knows about html & cgi metacharacters and escapes them now. 0.06: - debugged v0.05 0.07: - gup3w handles gup's exclude files now; - you can use wildcards in $SKIP list; - you need not have INN 1.5.x to run gup3w no more. 0.08: - gup3w handles exclude files in gup's manner now - it does not show excluded groups at all; - it checks whether the groups someone wants to subscribe to exist in our active file (or whether the wildcard patterns match any groups from our active file), so, nobody can subscribe to the groups we don't want to show to the world with fake CGI query. 0.09: - gup3w marks the groups and hierachies user is subscribed to as checked checkboxes in its subscription form - thanx to Andrey Gerasimov (andy@netclub.ru) for the idea ;) 0.10: - gup3w is a WYSIWYG product now :) It means that when you uncheck a box in the subscription form and then submit it you get unsubscribed to the group; - gup3w sorts you pattern list in the order that makes constructions like "comp.*,!comp.binaries.*,comp.binaries.xyzzy" work not depending on the order you included the patterns. 0.10a: - a little bug concerning WYSIWYG feature fixed (see BUGS) 0.11: - a version suitable for sites with large active. The resident size of GUP3W 0.10a is 6Mbytes when active contains 22,000 groups, so I have to change the algorithm. 0.12: - .htaccess authentication can be used now to control access to GUP3W. See above. WHERE TO GET GUP3W http://comp.chem.msu.su:8080/ CREDITS Thanks to the authors of the original GUP for their inspiring product and to RELCOM(tm) guys for their GUP3W which they've written and don't give to anybody else :) SY, Yar
Technical Details
Message-ID:
<5om2ha$9te$1@comp.chem.msu.su>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <5om2ha$9te$1@comp.chem.msu.su> Subject: INNGUP3W v0.12 is ready and tested Date: Mon, 23 Jun 1997 00:00:00 +0000 From: Yar Tikhiy <yar@comp.chem.msu.su> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 252027493 Organization: Chemistry Department, MSU Newsgroups: news.software.nntp