Gossamer Forum
Home : Products : DBMan : Installation :

Can't get a login screen, goes straight to main menu

(Page 2 of 2)
> >
Quote Reply
Re: Can't get a login screen, goes straight to main menu In reply to
Karen,

You are completely and absolutely WRONG!

Wink

Look at the codes again.

Code:
$db_script_path

equals the path where the DBMAN files are located.

the . means + OR include.

then the following:

Code:
/html.pl

is the directory and file.

So, by taking your example:

Code:
$db_script_url = $db_dir_url . "http://yourdomain/whaterver/db.cgi";

Would be interpreted by the server as the following:

Code:
http://yourdomain/whaterver/db.cgi/http://yourdomain/whaterver/db.cgi

This is interpreted as total garbage to the web server.

Do you see what I mean? If not, go to perl.com and look for directory, path, ., etc. to find what I am talking about.

Regards,

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




Quote Reply
Re: Can't get a login screen, goes straight to main menu In reply to
You're welcome Jim Day - as I indicated, this is not an area of expertise for me. One other thing I did notice however, on the perl scripts - I didn't see the line:

#!/usr/local/bin/perl at the top of the script. Could that be the cause of this grief?


------------------
~ ~ ~ ~ ~
Karen
Quote Reply
Re: Can't get a login screen, goes straight to main menu In reply to
Karen,

Nice try...But you do not need to have Perl paths in .cfg files and also required .pl files that work with .cgi scripts.

As you can see...In Jim's db.cgi script, he does have the Perl Path:

Code:
#!/usr/bin/perl

But good try....noneoftheless.

Wink

Regards,

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




Quote Reply
Re: Can't get a login screen, goes straight to main menu In reply to
Hallelujah! I deleted the .htaccess file on my server and the login screen now appears. Looks like it was the server password protection which was preventing the authorization subroutine from working. Might want to add this one to the FAQ Eliot. Thanks for all of your help.
Quote Reply
Re: Can't get a login screen, goes straight to main menu In reply to
Great...Glad you got it to work.

Actually, you are more than welcome to add the .htaccess conflict in the FAQ. The FAQ is for ALL DBMAN users to add helpful tips and suggestions to other DBMAN users.

BTW: If you still want to use .htaccess, there is a Thread in the Discussion Forum that provides codes for using .htaccess.

Regards,

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




Quote Reply
Re: Can't get a login screen, goes straight to main menu In reply to
Ok, I just added this to the FAQ resource directory. Hope the solution works for you as well Graffix.
> >