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

Has anyone installed on RedHat Linux?

Quote Reply
Has anyone installed on RedHat Linux?
I have been trying to install on RedHat Linux with no success. I have other cgi scripts running fine and I am sure my cgi path is correct <#!/usr/bin/perl>. Of course, I changed this in all the .cgi files. I double checked the permissions and I am running perl 5.005_03.
The absolute path to the admin directory is </home/httpd/cgi-bin/links/admin>
The URL to the admin directory is <http://www.sitedeveloper.ws/cgi-bin/links> - note that sitedeveloper.ws is a virtual domain where I would like to run the links program.
The URL of the user directory is <http://www.sitedeveloper.ws/cgi-bin/links>
The absolute path of the pages to be built is </home/httpd/html/sitedeveloper/links_files>
And the URL of the pages to be built is <http://www.sitedeveloper.ws/links_files>
I have installed a variety of successful cgi scripts but am just learning Perl. Has anyone installed links on RedHat 6.2 and were there any difficulties?

Thanks,
Michael

Quote Reply
Re: Has anyone installed on RedHat Linux? In reply to
Hi Michael

I have installed links on Red Hat in the past with no problems.

DavyC

Quote Reply
Re: Has anyone installed on RedHat Linux? In reply to
helio,

OK, you have problems but what are they exactly? I can see your domain but there's nothing in the home directory. Perhaps your problem is with the Apache configuration. Are you sure the paths are correct?

Martin Webster
--
Cebidae's UK Internet Resource
http://www.cebidae.co.uk/
Quote Reply
Re: Has anyone installed on RedHat Linux? In reply to
Your user and admin cgi URLs shouldn't be the same. Was that just a typo in your message?

--Drew
Quote Reply
Re: Has anyone installed on RedHat Linux? In reply to
Hello and thanks for responding:)

Thanks Davy! Now, I know the problem lies in my coding of links:)

To answer your question Martin, I do not yet have my pages posted on the Internet, I am currently working on my test box. The site works fine (-links v2) on my local network and I can run other scripts from the site with no problem.

Drew, no that was not a typo in the previous message. Perhaps that is part of my problem. Where should this point to exactly? On our servers we are only allowing individuals to run cgi scripts from one directory (in my case /home/httpd/cgi-bin). Of course I can run cgi execs in the subdirectories of cgi-bin (for example, I can run pathtest.cgi from /home/httpd/cgi-bin/links/admin with no problems). I have tried every permutation of <http://www.sitedeveloper.ws/cgi-bin/links/admin>.

The errors that I am getting from Apache are:
[error] (2)No such file or directory: exec of
/home/httpd/cgi-bin/links/admin/admin.cgi failed
[error] [client 192.168.1.1] Premature end of
script headers: /home/httpd/cgi-bin/links/admin/admin.cgi

I appreciate your responses, I have heard nothing but good things about this program.

Cheers!
Michael


Quote Reply
Re: Has anyone installed on RedHat Linux? In reply to
Shouldn't the URL of the user directory to be:
$db_cgi_url = "http://www.sitedeveloper.ws/cgi-bin"?

Martin Webster
--
Cebidae's UK Internet Resource
http://www.cebidae.co.uk/
Quote Reply
Re: Has anyone installed on RedHat Linux? In reply to
I tried that URL too with no luck...

Thanks:)
Michael