Gossamer Forum
Home : Products : DBMan : Installation :

Host doesn't work with .pl files–Help?

Quote Reply
Host doesn't work with .pl files–Help?
I am trying to get DBman working on my host but they state:
"Your scripts can ONLY have a .cgi extension. Webprovider servers do not support a .pl extension"
Does this indicate that DBman is not going to work at all, since some of the files have .pl extensions, or might there be a workaround? (Other than finding a new host :-)

Thanks
Mike
>

Quote Reply
Re: Host doesn't work with .pl files–Help? In reply to
Well, I changed the line on db.cgi as follows:
# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path= to your directory

that seemed to clear up the problem. Seems to work fine now with the .pl files as is.

Mike

Quote Reply
Re: Host doesn't work with .pl files–Help? In reply to
You should not have to change:

$db_script_path= to your directory

What you would do is simply change your files to .cgi extensions. They will run as either .pl or .cgi files.

You would make any changes within your .cfg file only to reference files.

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Host doesn't work with .pl files–Help? In reply to
THanks LoisC
Well, I first tried doing what you said, only changing the extensions to .cgi, and any references to the .pl files changed to .cgi, but still kept getting the errors. the only thing that worked was to change that line referencing the full path to dbman, and now it seems to be working fine.
Mike