Gossamer Forum
Quote Reply
throw me a line
 
I followed Alex's installation instructions to the best of my ability. However, I can't even get my browser to connect with the admin page. Nothing whatsoever is working. I set up the paths and URLs as such:

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/links/cgi-bin/admin";
$db_dir_url = "http://www.directorysearch.net/cgi-bin/links/cgi-bin/admin";

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

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

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";



....I don't know what else to do. I would sincerely appreciate any help.

Thanks guys, -Yarin
Quote Reply
Re: throw me a line In reply to
Since you are on a Windows server, you need to use the drive and directories to your files, like the following:

Code:
$db_script_path = "C:/InetPub/cgi-bin/links/cgi-bin/admin";

Same goes for the other variables that require absolute paths and directories.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: throw me a line In reply to
 
How do I determine the drive for my particular server? For instance, I am using HalfPrice Hosting (Halfpricehosting.com)
What should my path be?

Is this right?:

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/users/directorysearchnet/cgi-bin/links/cgi-bin/admin";
$db_dir_url = "http://www.directorysearch.net/cgi-bin/links/cgi-bin/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/users/directorysearchnet/cgi-bin/links/pages";
$build_root_url = "http://www.directorysearch.net/cgi-bin/links/pages";

-Yarin
Quote Reply
Re: throw me a line In reply to
ok, my server just gave me the correct path and I tried it:

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "d:/html/users/directorysearchnet/cgi-bin/links/cgi-bin/admin";
$db_dir_url = "http://www.directorysearch.net/cgi-bin/links/cgi-bin/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "d:/html/users/directorysearchnet/cgi-bin/links/pages";
$build_root_url = "http://www.directorysearch.net/cgi-bin/links/pages";


.....But no luck. I still can't access the admin page at all. ???

-Yarin
Quote Reply
Re: throw me a line In reply to
A few things to watch:
Make sure absolute path is correct
That case sensitivity is not needed... My Nt IIS 4 requires path case sensitivity in folder names to work correctly... also make sure that your admin has allocated(added) cgi and pl extensions to be allowed in your cgi directory... this is possible under Active Perl... also if you get errors, post them or ill take a look in a few to see if i can find error...
will do what i can
Acechase
www.trilynx.com
Quote Reply
Re: throw me a line In reply to
Ok i think i found the prob bud,
On your path.. if you didnt change the paths then you have an extra cgi-bin in your path. If your file structure is set up with a folder in your cgi-bin name links witha subfolder named cgi-bin that holds your admin folder then you need to go in each of your scripts and change

require "admin/links.cfg"; # Change this to full path to links.cfg if you have problems.

This should be on line 30 of each of the scripts. and needs to point to the right path inorder to work
default is admin/links.cfg
if you have setup an extra folder between links and admin like another cgi-bin folder then you need to make it
require "cgi-bin/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
Because it is basing your scripts finding of the cfg file out of different areas to work hence the file not found
try finding how you have your folders actually set
later good luck

Quote Reply
Re: throw me a line In reply to
OK, I did the suggested script adjustments and after talking with the administrator of my server I've finally set up the scripts in the correct order and I think I'm getting closer. Now when I access the admin page I get 3 frames of nothing, instead of nothing at all. At least I've succesfully connected with something though. see for yourself:

http://www.directorysearch.net/cgi-bin/links/cgi-bin/admin/admin.cgi

what else should I do?

-Yarin

Quote Reply
Re: throw me a line In reply to
There are four required files in the admin.cgi file:

1) links.cfg
2) db.pl
3) db_utils.pl
4) admin_html.pl

Use the same ABSOLUTE PATH to these files as you used in the links.cfg file, like the following:

Code:
require "d:/html/users/directorysearchnet/cgi-bin/links/links.cfg";

Regards,
Quote Reply
Re: throw me a line In reply to
   Alright, I've finally gotten it up and running. Here are my new questions:

1.How do I password protect my admin page?

2.How do I integrate all this with my homepage and get it running?


appreciate it,
-Yarin
Quote Reply
Re: throw me a line In reply to
1) You cannot do it very easily via Windows NT. You could attempt to install some cgi based user manager password protection scripts found at cgi-resources.com. Although I have found that many of these are only pseudo secured scripts. It really does not protect directories or individual files.

There are some web server programs like WebSite1.1 from O'Reilly that do allow you to protect directories and files like .htaccess. However, most ISP and Hosting Companies with NT servers do not install this web server package. They typically ONLY use Internet Information Server (IIS).

My honest opinion...switch hosting companies to a UNIX server. If all you want out of a NT server is Front Page or Cold Fusion access, there are third party patches for UNIX servers that allow these programs to run.

2) I don't understand your question...please be more specific.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: throw me a line In reply to
 You have to call halfpricehosting and they will password protect the admin directory for you (so it says).