Message Board

Newbie/Basic Questions

Older Posts ]   [ Newer Posts ]
 Installing HP under standalone Tomcat 5.0
Author: T.Markowitz   (24 Feb 05 1:21pm)
I'm trying to install the perl version of HP as a CGI script under a vanilla Jakarta Tomcat 5.0 server with CGI enabled. My Tomcat installation does not run a separate Apache web service, but uses its own embedded web server to handle HTTP requests. Unfortunately, the auto-generated 'useangry.cgi' script refers to an environment variable, "SCRIPT_FILENAME" which Tomcat doesn't set. Rather Tomcat uses "X_TOMCAT_SCRIPT_PATH" for this variable (see the offending line from the perl script below). This causes the script to fail at line 314 (the call to file_get_contents). Obviously, I can't change the perl source myself without messing up the hash digest for the code. Can someone on the development team create a separate perl Tomcat standalone-version that I can install?

Thanks.

--ted

$postvars{"tag4"} = md5_hex(&file_get_contents(&basename($ENV{"SCRIPT_FILENAME"})));
 
 Re: Installing HP under standalone Tomcat 5.0
Author: L.Holloway   (25 Feb 05 5:13pm)
Hi Ted, instead we made the perl script a little more tomcat friendly. You'll have to generate a new script (select your domain from your 'manage honey pots' page and navigate from there). Let us know how that goes. Welcome to the Project.



do not follow this link

Privacy Policy | Terms of Use | About Project Honey Pot | FAQ | Cloudflare Site Protection | Contact Us

Copyright © 2004–25, Unspam Technologies, Inc. All rights reserved.

contact | wiki | email