rpm2html : FAQ

I'm getting "Increase MAX_MIRRORS=20" messages.

Update to the very latest version of rpmfind

I'm behind a firewall and rpmfind doesn't work.

Edit ~/.rpmfind and change the variables httpProxy and/or ftpProxy to give the URL of the proxy:

httpProxy=http://myhttpproxy:3128/
How to build a Web page that described the packages installed on a machine.

This is definitely possible, here is an example of a config file doing exactly that:

maint=Sysadmin
mail=root@host.domain
dir=/home/httpd/html/setup
url=/setup
tree=true

[localbase]
name=Current Setup
ftp=ftp://ftp.redhat.com/pub/redhat/redhat-5.0/i386/RedHat/RPMS
ftpsrc=ftp://ftp.redhat.com/pub/redhat/redhat-5.0/SRPMS
color=#ffffff

The point here is that [localbase] hard coded value force rpm2html to dump the RPM installed database instead of browsing a directory.

Note: I would recommend some care about exporting publicly the list of exported packages installed on a machine to the whole internet. While this feature is definitely useful as a system administration tool, this is a potential security hole and action should be taken to restrain accesses to the generated pages

.

[ Home | News | Try it ! | Docs | Help | Mirrors | Download ]

[ FAQ | History | License | Archive | Feedback | Links ]

Daniel Veillard

$Id: faq.html,v 1.2 1998/08/16 21:08:03 veillard Exp $