Gossamer Forum
Home : Products : DBMan : Installation :

404 when try to access db.cgi on demo

Quote Reply
404 when try to access db.cgi on demo
 

I followed JPDeni's tutorial, loaded the demo to my server, but for the life of me cannot get to the log in form. I just get a 404 when I type */db.cgi into the address bar.

I have read the posts in the DBMan Installation support forum, I've read the ReadMe, I've read the CGI FAQs from my hosting company, and I've called their support. Nada.

Here is what I do know:

I have web hosting on Best. My site URL is http://www.best.com/~lboyd (though there's nothing there now). I created a dbman directory under there:

http://www.best.com/~lboyd/dbman. I know that directory is OK because I can get to */dbman/db.cgi.txt from a browser. However, trying to get to */dbman/db.cgi gets me the 404.

So here's one question. The actual path to this directory is shell4.ba.best.com/home/lboyd/public_html/dbman. Is this what I should put for $db_dir_url in the default.cfg file? (Even though if you type that into a browser, you get a DNS error?)

ie: Should it be:
$db_dir_url = "http://www.best.com/~lboyd/dbman";
or
$db_dir_url = "http://shell4.ba.best.com/home/lboyd/public_html/dbman";
or
$db_dir_url = "http://shell4.ba.best.com/home/lboyd/dbman";
I have tried all 3; none of them works. The browser gives me a 404 for each of them.

Other things:
* I did upload in ASCII
* I did check permissions
* I have the correct path to Perl (*/perl5)
* Best uses Perl 5.004_04
* shell4 is a Unix system. JPDeni's tutorial says Unix systems usually require you to put CGI scripts in a cgi-bin directory. Best's FAQ says it doesn't matter what directory they are in -- except that you can't use "cgi-bin" because that's reserved for them. Could this be a source of the problem? Their CGI FAQs are at:
http://www.best.com/faq/faq0013.html, if you want to take a look.
* Best FAQ also says to use /home/username/public_html to refer to the website. Does that mean I should use that somehow in the $db_dir_url?
* Both my db.cgi and default.cfg files are online as txt files, in case someone wants to take a look. (see, i really did read those other posts. :-) )
http://www.best.com/~lboyd/db.cgi.txt and http://www.best.com/~lboyd/default.cfg.txt
* I am a newbie to CGI scripts (in case that wasn't painfully apparent)

I apologize if this is too much information. Thank you for your help. And thank you to JPDeni for your tutoral -- these problems notwithstanding, it's been a *great* help.

Liza


Subject Author Views Date
Thread 404 when try to access db.cgi on demo Liza 3799 Aug 17, 2001, 2:21 PM
Thread Re: 404 when try to access db.cgi on demo
QooQ 3630 Aug 17, 2001, 5:32 PM
Thread Re: 404 when try to access db.cgi on demo
Liza 3618 Aug 23, 2001, 1:08 PM
Post Re: 404 when try to access db.cgi on demo
LoisC 3607 Aug 23, 2001, 2:16 PM