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

admin.cgi again

Quote Reply
admin.cgi again
please help me!!!!!!
i installed the script but when i opened admin.cgi
it didn't work
url: http://server2038.virtualave.net/wynak/cgi-bin/admin/admin.cgi

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

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/data1/virtualave.net/wynak/public_html/pages";
$build_root_url = "http://www.virtualave.net/wynak/public_html/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";



Quote Reply
Re: admin.cgi again In reply to
As stated a number of times in this forum...make sure that you are using the COMPLETE/FULL ABSOLUTE path to your links.cfg file in the admin.cgi file, like the following:

Code:

require "/data1/virtualave.net/wynak/public_html/cgi-bin/admin/links.cfg";


Regards,

Eliot Lee


Quote Reply
Re: admin.cgi again In reply to
Try replacing the $db_dir_url = "http://www.virtualave.net/wynak/public_html/cgi-bin/admin";
with $db_dir_url = "http://server2038.virtualave.net/wynak/public_html/cgi-bin/admin";
Do it for all the others useng an absolute path. If changing the name doesn't work, then make sure you have uploaded everything in ASCII mode and have correctlt set all file permissions as said in the "Readme" documentation.......
Set permissions:
chmod 755 (-rwxr-xr-x) on all .cgi files.
chmod 666 (-rw-rw-rw-) on all files in the data directory.
chmod 666 (-rw-rw-rw-) on all your template files (if using the online editor).
chmod 777 (drwxrwxrwx) on the hits directory
chmod 777 (drwxrwxrwx) on the ratings directory
chmod 777 (drwxrwxrwx) on the directory where Links pages will be created.
Also, the last line of the admin.cfg has a nice debugging line for the script..
#&cgierr
If you remove the # from the line, it will usually tell you what problems you are having.
Hope this helps you out.

Shawn Anderson
Webmaster
Southwest Virtual Airways
http://www.virtualswa.com
Quote Reply
Re: admin.cgi again In reply to
thaaaaaaaaaaaaaaaaaannnnnnnkkk u all very
much for helping me

thank you
Soso