
Dave
Staff
/ Moderator

Nov 3, 2006, 2:42 PM
Post #7 of 11
(1637 views)
Shortcut
|
|
Re: [rebunkerjr] Installation Error
[In reply to]
|
Can't Post
|
|
Hi Chip, I think the simplest method is to upgrade your Article Manager and let us send you a custom patch file. But you will likely have this problem with other scripts you might use on your site, so it might make sense to get it resolved. If you do get it resolved, let us know what happened. It might help us with other clients who end up hosted with the same provider. Here's technical details, sorry to geek out on you... Hopefully it will help in getting through to your host. :) I've attached a simple two line script that displays all the environment variables set by the server. If you upload it to your cgi-bin, set permissions and run it you'll see them. The CGI/1.1 specification (found here: http://hoohoo.ncsa.uiuc.edu/cgi/env.html) specifies that servers should set an environmental variabled called "SCRIPT_NAME" which has: "A virtual path to the script being executed, used for self-referencing URLs.". So our program, like many, uses this "SCRIPT_NAME" value to create "self-referencing URLs" when linking back to ourselves or submitting a form. If you installed the env.cgi script I sent as /cgi-bin/env.cgi then "SCRIPT_NAME" should display as "/cgi-bin/env.cgi". But if you run the script you'll see "/~82056.83379//cgi-bin/env.cgi". Which isn't a valid url and doesn't work. So when the script tries to link back to itself, it gets an error because it can't find itself. This is likey something to do with how your web host is setup to work internally, and probably something that's meant to be filtered out so we never have to see it. But it's not so it's causing problems for anyone who is trying to run web applications that link to themselves. You can even see the incorrect information being displayed back by the web server when you request a script that isn't there. When I request: http://robertbunker.com/cgi-bin/notThere.cgi I get "The requested URL /~82056.83379//cgi-bin/notThere.cgi was not found on this server." even though that wasn't the url I requested. Anyways, sorry this is so complicated Chip, usually you wouldn't have to deal with ANY of this and installing would only take a couple minutes. Let me know if I can do anything else to help, watch the forum for a new release in a couple hours, and good luck getting through to your host! Let me know how it goes. Dave Edis - Senior Developer interactivetools.com
|