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

add.pl was not found on this server

Quote Reply
add.pl was not found on this server
I had Links 2.0 up and running then loaded a new set of templates and get the following errors:

add.pl was not found on this server,
modify.pl was not found on this server,
subscribe.pl was not found on this server,
jump.pl was not found on this server,
search.pl was not found on this server,

Here is a list of the pages that work and use the new templates:
index, new, cool, top rated,

I have recently edited: (uplaoded in ASCII)
the new templates, (-rw-rw-rw-)
links.cfg, (-rw-rw-rw-) permissions?


I have loaded fresh copies of the cgi scripts and set their permissions to 755.

I have also loaded the site_html_templates.pl file that accompanied the new set of templates...

(Slick Links Template - No Style Sheets! - Looking for a stylish links 2.0 templates that dont use style sheets? Well, this is the version for you!
Created By: Neil Glazer)
"http://www.gossamer-threads.com/scripts/resources/jump.cgi?ID=181

I think the solution to these error messages that I receive does not reside in the new templates...but possibly in:

links.cfg,
site_html_templates.pl,
or some permission setting(s) I may have missed.

Please Help

If any code needs to be posted for viewing just let me know.

------------------
Neophyte740
Quote Reply
Re: add.pl was not found on this server In reply to
Is there a particular reason all your scripts end with .pl instead of .cgi?
Quote Reply
Re: add.pl was not found on this server In reply to
The files in the cgi-bin/links folder have the .cgi extension. And the path to perl is correct. I just rechecked it.

The error messages contain the .pl extension.

Error message:
Not Found
The requested URL /chi-bin/links/add.pl was not found on this server.

Why would the script produce some of the pages but not other ones?

Is this a path setting or permissions issue?


------------------
Neophyte740
Quote Reply
Re: add.pl was not found on this server In reply to
and...the chi-bin is legit.
I am running other scripts from it.
It was a recommendation from ?BigNoseBird.com? to alleviate any confusion w/ my host server's cgi-bin.
So I don't believe this is an issue.

------------------
Neophyte740
Quote Reply
Re: add.pl was not found on this server In reply to
If the files in the cgi-bin directory have .cgi on them, then the error message is telling you that the script is looking for .pl versions of them. You must have edited something in links.cfg to cause that because the default links.cfg shows all the scripts as .cgi.

If you fix the links.cfg, then the problem will probably go away.
Quote Reply
Re: add.pl was not found on this server In reply to
All the paths to the .cgi files in the links.cfg file do have the .cgi extension.

These paths to the .cgi files do point one directory up...and this is where the .cgi files are located.

I changed this setting in links.cfg

# Referers -- which hosts are allowed to add to your database.
@db_referers = ();
to
# Referers -- which hosts are allowed to add to your database.
@db_referers = (http://www.mysite.com);
and then was prompted to download the admin.cgi file as I tried to run the script thru the browser.

All the files were ftp'd using ASCII.

?
I'm stuck.



------------------
Neophyte740
Quote Reply
Re: add.pl was not found on this server In reply to
OK....

I changed the setting in links.cfg to NOT use the templates and the whole program works just fine.

So...

The problem must lie w/in the site_html_template.pl file that I received w/ the "Slick-Styled-Templates"

or

?

------------------
Neophyte740
Quote Reply
Re: add.pl was not found on this server In reply to
I have modified the site_html.pl and links.css files.

Thank you for the assistance.

Please close this thread.

------------------
Neophyte740
Quote Reply
Re: add.pl was not found on this server In reply to
I had the same problem after installing Neil
Glazer's templates from the resource centre.

These should be removed - for starters the template menus point to .pl files as opposed to .cgi and GOd only knows what's in the site_templates_html file!!