Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

not returning a complete set of HTTP headers

Quote Reply
not returning a complete set of HTTP headers
I've read this forum for the past 2 hrs :(

I've seen where this was asked before, but there were no answers, and since those posts were 2-3 yrs old, I decided to start fresh.

Here is the error I get when trying to access the admin.cgi CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Note that it doesn't list anything further. So I don't have a clue which headers the script is looking for.

Now my host uses: Perl32.exe

#!C:\PERL\BIN\PERL.EXE

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "E:\webs\9240\cgi-bin\admin";
$db_dir_url = "http://freebiesonline2000.com/cgi-bin/admin";



So can anyone advise me as to what is wrong and how I may fix it.

Thanks

Beckie
Quote Reply
Re: [beckiesue] not returning a complete set of HTTP headers In reply to
In Reply To:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "E:\webs\9240\cgi-bin\admin";
$db_dir_url = "http://freebiesonline2000.com/cgi-bin/admin";

Your problem is here, you have your paths wrong

$db_script_path = "E:\webs\9240\cgi-bin\admin";

is pointing to a cd rom or hard drive it should be something like

$db_script_path = "/home/mywebsite.com/cgi-bin/links/admin";

Stu2000

- Top 100 forums / GT Links 2.0 websites -
Quote Reply
Re: [stu2000] not returning a complete set of HTTP headers In reply to
Ignore the above statment, it could well be that you are using a cd rom on a server, so your paths maybe right.

Check your links.cfg paths ensure they are all correct, use something like perldiver.cgi to dig out all your server paths, also ensure that all files are CHmodded correctly.
Quote Reply
Re: [stu2000] not returning a complete set of HTTP headers In reply to
Thanks for replying.

I've installed on unix before with minimum problems.

I'm totally stuck on the Windows NT server :(

Ok this is the info I got from the host:

Root Drive Path: E:\Webs\9240

PERL scripting has been activated for *.pl and *.cgi files within the 'cgi-bin' directory of your site to the application path C:\PERL\BIN\PERL.EXE

Your web site root path is, in most instances, E:\webs\userid\cgi-bin (where userid is your login ID),

I've tried several different combinations for the path, ignoring the E: adding it etc. Still can't get past that one spot.

I even changed the links.cfg:

# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 1;

any more ideas?

Thanks,

Beckie
Quote Reply
Re: [beckiesue] not returning a complete set of HTTP headers In reply to
Yea...use:

E:/webs/userid/cgi-bin

rather than

E:\webs\userid\cgi-bin
========================================
Buh Bye!

Cheers,
Me