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

add.cgi gives 404 error

Quote Reply
add.cgi gives 404 error
Everything else works fine but i cant add new links to it.


Quote Reply
Re: add.cgi gives 404 error In reply to
You probably have the wrong URL in links.cfg

More info would be useful :)

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: add.cgi gives 404 error In reply to
Well everything else seems to be working. the links.cfg has got the correct paths. but when i click on adding a page. it says 404.

I really dont understand the problem

Quote Reply
Re: add.cgi gives 404 error In reply to
I said URL's not Paths........

Again, more info would be useful.....

What does the top half of your links.cfg look like?

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: add.cgi gives 404 error In reply to
 
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/data1/virtualave.net/eafghanan/public_html/cgi/a/admin";
$db_dir_url = "http://www.eafghanan.net/cgi/a/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.eafghanan.net/cgi/a";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/data1/virtualave.net/eafghanan/public_html";
$build_root_url = "http://www.eafghanan.net";

# 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";

# Database Options
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn't support it (Win95),
# then turn this off at your own risk!
$db_use_flock = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
$db_nocache = 0;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 0;
# Field number of category in category.db
$db_main_category = 1;
# Referers -- which hosts are allowed to add to your database.
@db_referers = ();

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

Thats the url and path section of my links.cfg

Quote Reply
Re: add.cgi gives 404 error In reply to
Have you got add.cgi uploaded? What URL is it sending you too?

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: add.cgi gives 404 error In reply to
http://www.eafghanan.net/cgi/a/add.pl

well it heads to a .pl file and i've .cgi files there. now i got the problem. but what should i do now?

Quote Reply
Re: add.cgi gives 404 error In reply to
Why is it pointing to .pl?? You must have altered it.

Rename the .cgi files to .pl - common sense.

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: add.cgi gives 404 error In reply to
I did that already. thanks :)