[ipv6calc] ipv6calcweb.cgi new feature: form mode

Peter Bieringer pb at bieringer.de
Sun Jan 1 22:28:50 CET 2012


Hi,

I've implemented a form mode into ipv6calcweb.cgi to be able to retrieve 
information depending on user input.

Example: http://mirrors.bieringer.de/cgi-bin/ipv6calcweb.cgi

Also I've added support for configuration of ipv6calcweb.cgi via SetEnv, 
so there should be no need anymore to touch the script itself for config 
changes.

## program controls by httpd's setenv
#  HTTP_IPV6CALCWEB_MODE                : info (default), form (display 
a form for user input), mixed (both)
#  HTTP_IPV6CALCWEB_INFO_SERVER         : 0 (default), 1 (show 
information about server)
#  HTTP_IPV6CALCWEB_DEBUG               : 0 (default)
#  HTTP_IPV6CALCWEB_DB_IP2LOCATION_IPV4 : IP2Location IPv4 database file 
(optional)
#  HTTP_IPV6CALCWEB_DB_IP2LOCATION_IPV6 : IP2Location IPv6 database file 
(optional)
#  HTTP_IPV6CALCWEB_DB_GEOPIP_IPV4      : GeoIPv4 database file (optional)
#  HTTP_IPV6CALCWEB_DB_GEOPIP_IPV6      : GeoIPv6 database file (optional)
#  HTTP_IPV6CALCWEB_BIN_IPV6CALC        : path to ipv6calc binary (optional)

Please use latest code from CVS to play around.

Regards,
	Peter



More information about the ipv6calc mailing list