Gossamer Forum
Home : Products : DBMan : Installation :

404 Error at Demo Logon

Quote Reply
404 Error at Demo Logon
I get the 404 error when attempting to use demo logon.

This is the site for the demo with dedug turned on...

http://www.air-mechanic.com/cgi-bin/dbman/db.cgi

Test files of db.cgi and default.cfg can be located at

http://www.air-mechanic.com/Debug/db.txt
http://www.air-mechanic.com/Debug/default.txt

Thanks
Iggy
Quote Reply
Re: 404 Error at Demo Logon In reply to
Here is what you need to change:

In your db.cgi file:

Code:
$db_script_path = ".";

Set this variable using the absolute path on your server to your DBMAN files.

In your default.cfg file, change the following variable settings:

Code:
$db_dir_url = "http://www.air-mechanic.com/cgi-bin";

to the FOLLOWING:

Code:
$db_dir_url = "http://www.air-mechanic.com/cgi-bin/dbman";

If you will notice that the URL you gave us and the settings you have in your default.cfg are different, thus that is why you are getting the 404 NOT FOUND message.

Hope this helps.

Regards,

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






[This message has been edited by Eliot (edited January 16, 2000).]
Quote Reply
Re: 404 Error at Demo Logon In reply to
Seems I can't win...

If I put the "absolute path" in the db.cgi file get error "cant find html.pl"

If I leave the absolute path out, I can login only to get a denied permission error.

However, I currently have the path in the file and Dbman cant find html.pl error occurs.

http://www.air-mechanic.com/cgi-bin/dbman/db.cgi

Test files of db.cgi and default.cfg can be located at

http://www.air-mechanic.com/Debug/db.txt
http://www.air-mechanic.com/Debug/default.txt


Please check my files above again, I reloaded them in the current config.

Thanks
Iggy
Quote Reply
Re: 404 Error at Demo Logon In reply to
Welp, then take out the absolute path in the db.cgi file.

The permissions are probably associated with not uploading the default.pass file and changing its permission correctly OR you do not have the authentication configurations set-up properly.

BTW: Your url settings are exactly the same as before! Did you forget to upload the new files???? You need to have dbman at the end of the URL variable if that is where you are putting your DBMAN files!

Try changing the following variable:

Code:
require $db_script_path . "/html.pl";

to the following:

Code:
require "/path/to/html.pl";

Change path/to to the absolute path in your server account.

For additional help on setting up your DBMAN in terms of permissions and customizing, go to the following web site:

www.jpdeni.com/dbman/



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






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