Gossamer Forum
Home : Products : Links 2.0 : Discussions :

location of jump.cgi

Quote Reply
location of jump.cgi
I need to make the script think that jump.cgi is in the root instead of the cgi bin.

SO

I just changed the path in links.cgf. Replaced $db_cgi_url with $build_root_url

I built the site but the script looks for jump.cgi at the cgi url. Why is that?
Quote Reply
Re: location of jump.cgi In reply to
Do you have a plan for getting a script to work outside of the cgi-bin?

Assuming you do (which I can't imagine), did you change this line in links.cfg:

Code:
$build_jump_url = $db_cgi_url . "/jump.cgi"; # URL of jump script.

Dan
Quote Reply
Re: location of jump.cgi In reply to
Thanks for the reply Dan!

I did change this in links.cfg:
$build_jump_url = $db_cgi_url . "/jump.cgi"; # URL of jump script.

To:
$build_jump_url = $build_root_url . "/jump.cgi"; # URL of jump script.

This is how the file is on the server. I ran the build command afterwards and opened the page. I cleared the browser's cache and hit releoad even.. the script still links to the $db_cgi_url instead of $build_root_url.

[This message has been edited by Newbie (edited January 27, 2000).]
Quote Reply
Re: location of jump.cgi In reply to
Dan,

You can execute cgi and perl scripts outside of the standard cgi-bin directory. It depends on the server's permissions. BUT it can be done.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: location of jump.cgi In reply to
Newbie,

Quote:
This is how the file is on the server. I ran the build command afterwards and opened the page. I cleared the
browser's cache and hit releoad even.. the script still links to the $db_cgi_url instead of $build_root_url

You also have to change all the links in your template files for the link to properly show up.

Then re-build your index via the Build All option in the LINKS MANAGER.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: location of jump.cgi In reply to
Oh, I stand corrected. Thanks for pointing that out, not that I'm likely to ever need that knowledge. Smile

Dan