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

/public_html/cgi-bin/links/*.cgi vs. /cgi-bin/*.cgi ?

Quote Reply
/public_html/cgi-bin/links/*.cgi vs. /cgi-bin/*.cgi ?
OK...I'm trying to set up Links v2 on 9netave server for a friend, and the cgi-bin is on the same level directory as public_html. I tried moving the cgi-bin to be IN /public_html/ like it is set up in mine, and 99% of all links pages probably are. The directory was not found; the files were not found (not "access denied" -- "not found") -- [via the web, not via ftp]. So I contact them and they recreated the cgi-bin on the same level as the /public_html/ dir.

Now at least the cgi-bin shows up via the browser, but when I try to go to access teh admin.cgi script and the search.cgi etc. it says file not found still.

Why is this? They show up via ftp. Should the cgi-bin under /public_html/ be echoed to the one that's one level up?

And if the scripts have to be placed in THAT one and not the public one, HOW on earth do I access such urls as http://www.mysite.com/cgi-bin/links/admin/admin.cgi and http://www.mysite.com/cgi-bin/links/search.cgi ??? I can't very well point the urls to http://www.cgi-bin/links/search.cgi can I? Or if that's what I'm supposed to do (if the cgi bin is located not in the public hmtl area) HOW???

He wants the damn thing up and running by February. Tech support at 9netave is slow as sin, and about as smart and helpful as a bump on a log.

For reference, his site will be located at http://directory.vampyrenation.com/ and you can go and view the listing of the contents there.

------------------

--Sanguinarius
The Real Vampire Directory
www.sanguinarius.org/cgi-bin/links/pages/
Quote Reply
Re: /public_html/cgi-bin/links/*.cgi vs. /cgi-bin/*.cgi ? In reply to
You are confused about ABSOLUTE and VIRTUAL locations of files and directories. The cgi-bin directory needs to be where it was before. You cannot simply move executable directories like you have done.

In the links.cfg file, use the ABSOLUTE path variables, like the following:

Code:
/machine/docs/user/public_html

OR

Code:
/machine/docs/user/cgi-bin

Then the VIRTUAL url variables should be set like the following:

Code:
http://www.yourdomain.com

AND

Code:
http://www.yourdomain.com/cgi-bin

Hope this helps.

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: /public_html/cgi-bin/links/*.cgi vs. /cgi-bin/*.cgi ? In reply to
But then, what url would I type to access the admin.cgi script, the search, add, jum, etc scripts? Those have to be accessible from the html page.

http://www.sanguinarius.org/cgi-bin/links/admin/admin.cgi

but then, what would I type to access it?

the directory is set up like:

/public_html
/cgi-bin
/links
add.cgi
jum.cgi etc
/admin
admin.cgi

but if it's set up like

/cgi-bin
/links
jump.cgi etc
/admin
admin.cgi
/public_html
/pages

then what url would I point my browser to to access the Admin interface? What url would I change the links on the menu bar of the actual directory to point to???

I'm lost, dazed and confused-as-h*ll. *whimper*
Quote Reply
Re: /public_html/cgi-bin/links/*.cgi vs. /cgi-bin/*.cgi ? In reply to
The problem now is with your admin.cgi file.

Please search this forum for threads that relate to the admin.cgi script. I have posted and re-posted suggestions for fixing this problem.

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: /public_html/cgi-bin/links/*.cgi vs. /cgi-bin/*.cgi ? In reply to
OK, I moved /cgi-bin to /

Progress. When I type in http://www.vampyrenation.com/cgi-bin/ (as well as any subdirectory after that) I get "You are not authorised to view" message. But, when I type in http://www.vampyrenation.com/cgi-bin/links/admin/admin.cgi I get the ol' hourglass until the "Page not found" pops up again. Buuuuut....if I type in http://www.vampyrenation.com/cgi-bin/links/templates/home.html for instance, I get the html page loading just fine.

So why won't it find the *.cgi scripts?

I'm starting to sweat here...close and yet so far away...

============
ok, duh...I forgot to change the stupid path in links.cfg *feeling stupid* ok, I think it'll work now. Smile

[This message has been edited by Sanguinarius (edited January 26, 2000).]
Quote Reply
Re: /public_html/cgi-bin/links/*.cgi vs. /cgi-bin/*.cgi ? In reply to
To access the admin.cgi file you would use the VIRTUAL PATH, like the following:

Code:
http://www.getaperlbook.com/cgi-bin/admin/admin.cgi

On the "Menu Bar", use the following:

Code:
http://www.readmefileshelp.com/

Then add the directories onto this...like for the What's New, Cool, Ratings, etc.

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. Smile
----------------------









[This message has been edited by Eliot (edited January 26, 2000).]