Gossamer Forum
Quote Reply
Any Help?
To all who can helped:

I've got a http 404 error - file etc not found when i get to http://.../admin.cgi. Can anyone tell me what's the problem? i tried doing a search but i found nothing.
Any help will be greatly appreciated

XploreR

=======================

# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/u/mp3resource/cgi-bin/links/admin";
$db_dir_url = "http:/mp3resource.virtualave.net/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http:/mp3resource.virtualave.net/cgi-bin/";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/mp3resource/public_html/cgi-bin/links";
$build_root_url = "http://mp3resource.virtualave.net/cgi-bin/links/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "/home/mp3resource/public_html/cgi-bin/linksNew";
$build_new_url = "http://mp3resource.virtualave.net/cgi-bin/links/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "/home/mp3resource/public_html/cgi-bin/links/Cool";
$build_cool_url = "http://mp3resource.virtualave.net/cgi-bin/links/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "/home/mp3resource/public_html/cgi-bin/links/Ratings";
$build_ratings_url = "http://mp3resource.virtualave.net/cgi-bin/links/Ratings";

================================

Enviromemntal virables

SERVER_SOFTWARE: Apache/1.2.6
GATEWAY_INTERFACE: CGI/1.1
DOCUMENT_ROOT: /home/mp3resource/public_html
SCRIPT_URI: http://mp3resource.virtualave.net/cgi-bin/
REMOTE_ADDR: 203.124.0.50
SCRIPT_URL: /cgi-bin/
SERVER_PROTOCOL: HTTP/1.0
REQUEST_METHOD: GET
REMOTE_HOST: 203.124.0.50
HTTP_REFERER: http://mp3resource.virtualave.net/cgi-bin/
QUERY_STRING: action=env
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH : /usr/local/bin:/usr/bin:/bin
HTTP_CONNECTION: Keep-Alive
HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
REMOTE_PORT: 31687
HTTP_ACCEPT_LANGUAGE: en-us
SCRIPT_NAME: /cgi-bin/
SCRIPT_FILENAME: /u/mp3resource/cgi-bin/
HTTP_ACCEPT_ENCODING: gzip, deflate
SERVER_NAME: mp3resource.virtualave.net
HTTP_X_FORWARDED_FOR: 165.21.218.117
SERVER_PORT: 80
HTTP_HOST : mp3resource.virtualave.net
SERVER_ADMIN: webmaster@virtualave.net
HTTP_VIA : NetCache@proxy1b.singnet.com.sg: Version 3.4D6

==========================
And i got some questions in which i hoped someone can answer..

do i need to create this dirs? - Ratings, Cool, New..etc and if so..where do i place them..in the cgi-bin/links/..in my case?

and lastly do i need to create a dir called pages for the pages i built and also...where do i place them..in the cgi-bin/links/..in my case?

i have created the dirs - New, Cool..and pages in my cgi-bin/links

XploreR

Thanks in advance! Smile Smile


[This message has been edited by XploreR (edited August 07, 1999).]
Quote Reply
Re: Any Help? In reply to
We can't. You just gave us information that you are facing 404 error but you didn't post the configuration file which might be the cause of the error. Post your links.cfg.
Quote Reply
Re: Any Help? In reply to
Save your configuration (.cfg) file as linkscfg.txt and then paste the configuration at the top of the file in this Thread.

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Any Help? In reply to
Is your cgi-bin located in your public_html directory? If so, change this:

Quote:
$db_script_path = "/u/mp3resource/cgi-bin/links/admin";

to read:

Quote:
$db_script_path = "/u/mp3resource/public_html/cgi-bin/links/admin";

I would also change these to look like:

Quote:
$db_cgi_url = "http://mp3resource.virtualave.net/cgi-bin";
$build_root_path = "/home/mp3resource/public_html/links";
$build_root_url = "http://mp3resource.virtualave.net/links";
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";

I hope this helps.

[This message has been edited by Bobsie (edited August 07, 1999).]
Quote Reply
Re: Any Help? In reply to
Well, i finally got the script to wrk. thnaks to all who have helped, especially Bobsie Smile

XploreR