Gossamer Forum
Home : Products : DBMan : Installation :

db.cgi shows up as a text file in browser

Quote Reply
db.cgi shows up as a text file in browser
I've read all of the relevent posts, but none of them have helped. When I try to open db.cgi, it shows up asa text file.I've followed JPDeni's tutorial word for word! My site is:

http://seasprayfarms.tripod.com/cgi-bin/dbman/db.cgi

Please reply...
Quote Reply
Re: [ddded] db.cgi shows up as a text file in browser In reply to
Not real sure what has caused this problem however, when I look at the source code, it appears there is no shebang at the top of the page. You need to define the path/to/perl.

#!/your/path/to/perl



Check with your host if you do not know the path.

~ Karen
Quote Reply
Re: [ddded] db.cgi shows up as a text file in browser In reply to
Hi,

That means you host doesn't have a cgi-script handler. Are you on a windows server?

Try renaming it to .pl or ask your host to add cgi extensions.
Quote Reply
Re: [ddded] db.cgi shows up as a text file in browser In reply to
Your URL

Quote:
http://seasprayfarms.tripod.com/cgi-bin/dbman/db.cgi

What follows is taken directly from tripod help files.

Quote:
The URL of any file located in your cgi-bin is: http://cgi.tripod.com/your_membername/cgi-bin/filename

You might want to read the tripod help files regarding cgi content on tripod web sites.
easy does it
Quote Reply
Re: [Bearwithme] db.cgi shows up as a text file in browser In reply to
If you search the forums for "Tripod" you'll notice other posts regarding problems setting up the script on their servers.

Not sure anyone found a solution but I noticed in a few of the threads that they are missing some of the necessary modules needed to run the script on their servers.

Search and locate all related threads so you know what you are dealing with.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/