mod_whois

mod_whois module maps WHOIS queries into standard HTTP requests.
Download

mod_whois Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License
  • Price:
  • FREE
  • Publisher Name:
  • Alexander Mayrhofer
  • Publisher web site:

mod_whois Tags


mod_whois Description

mod_whois module maps WHOIS queries into standard HTTP requests. mod_whois module maps WHOIS queries into standard HTTP requests.After the "translation", the request can be processed by the usual mechanisms (mapping to static content, running CGI & PHP scripts, ...).Compile & Installapxs -i -a -c mod_whois.cConfigureMost simplest configuration:Listen 43< VirtualHost *:43 >WhoisProtocol On< /VirtualHost >Inbound whois queries will be mapped to the URI /cgi-bin/whois?query=,with < query > properly quoted.To change the mapping destination, add to your httpd.conf:WhoisPrefix "GET /whois.php?searchstring="(WhoisPrefix will have the whois query appended). You can not only mapqueries to scripts, but also to static content:WhoisPrefix "GET /whoisinfo/" will make apache trying to retrieve /whoisinfo/bla if asked for "bla" Attention: Be aware that if an 404 occurs, the client is presented with an ugly HTML error message (which, BTW will contain the mapped URI). So, if you map to static content, you may want to add e.g.ErrorDocument 404 /whoisinfo/404hider.txt(and an appropriate text error message) to your installation. You may always want to add an ErrorDocument 500 /whoisinfo/kaputt.txtIn case your CGI fails (e.g. to connect to your backend database). Requirements: · Apache2


mod_whois Related Software