Gossamer Forum
Home : Products : DBMan : Discussions :

DBMan in a Windows environment - Checklist

Quote Reply
DBMan in a Windows environment - Checklist
Hi all!

Lately, there has been a heap of posts about setting up DBMan in Windows. Recently, I successfully set up DBMan on my own Personal Web Server and it is really not that difficult.

Compared to setting up DBMan in a UNIX environment, there are only really 3 major differences you need to observe:

1) The shebang (#!/usr/local/bin/perl/) does nothing under Windows. When you install Perl, all *.pl are immediately associated with Perl, so PWS knows exactly where to look. So you don't need to worry about customizing it.

2) The variable $db_script_path in db.cgi MUST be set to the full location of your DBMan directory on your filesystem. (without the last slash)

A quick note on the file path variable, try to avoid using the backslash character as it is an escape character.
eg: $db_script_path = "c:\inetpub\cgi-bin\dbman";

Either escape the backslash first: $db_script_path = "c:\\inetpub\\cgi-bin\\dbman";
Or use forward slashes: $db_script_path = "c:/inetpub/cgi-bin/dbman";

Either method will work fine.

3) For DBMan to work on Windows systems, you need to change the extension on your db.cgi to .pl (make sure you do the same in your default.cfg!)

The following aren't so important, so I don't class them as "major differences"

4) As you probobly know, file locking won't work under Windows, so you should probobly turn it off in default.cfg

5) Also there is no "chmod" in Windows, as long as you haven't set any of the files to "read only" you shouldn't have any problems.

And that's all! Everything else should work as it's supposed to, provided you have the latest version of Perl which you can get at:
http://www.perl.com or
http://www.activestate.com/

Good luck, and happy DBMan-ing!

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Subject Author Views Date
Thread DBMan in a Windows environment - Checklist AstroBoy 11304 Oct 12, 2000, 3:28 AM
Thread Re: DBMan in a Windows environment - Checklist
pieter 10728 Oct 13, 2000, 9:38 AM
Thread Re: DBMan in a Windows environment - Checklist
AstroBoy 10735 Oct 14, 2000, 1:42 AM
Thread Re: DBMan in a Windows environment - Checklist
pieter 10761 Oct 14, 2000, 3:39 AM
Thread Re: DBMan in a Windows environment - Checklist
rampantlion 10631 Dec 21, 2000, 10:46 AM
Thread Re: DBMan in a Windows environment - Checklist
AstroBoy 10655 Dec 21, 2000, 2:29 PM
Post Re: DBMan in a Windows environment - Checklist
lanerj 10542 Dec 22, 2000, 3:11 AM
Thread Re: DBMan in a Windows environment - Checklist
rampantlion 10592 Dec 22, 2000, 10:16 AM
Post Re: DBMan in a Windows environment - Checklist
bpet 10511 Dec 27, 2000, 7:05 PM
Thread Re: DBMan in a Windows environment - Checklist
alex_9910 10407 Mar 16, 2001, 9:33 PM
Post Re: DBMan in a Windows environment - Checklist
LoisC 10368 Mar 17, 2001, 12:15 AM
Thread Re: DBMan in a Windows environment - Checklist
alex_9910 10389 Mar 17, 2001, 7:23 AM
Thread Re: DBMan in a Windows environment - Checklist
Karen 10352 Mar 17, 2001, 10:10 AM
Thread Default.cfg
kelsie126 10369 Mar 17, 2001, 9:14 PM
Thread Re: Default.cfg
Karen 10333 Mar 17, 2001, 9:57 PM
Post Re: Default.cfg
kelsie126 10317 Mar 17, 2001, 10:00 PM
Post Re: DBMan in a Windows environment - Checklist
AstroBoy 10297 Mar 19, 2001, 3:52 PM
Post Re: DBMan in a Windows environment - Checklist
gatman 10334 Mar 20, 2001, 6:42 AM
Post Re: [AstroBoy] DBMan in a Windows environment - Checklist
ronstew 10049 Mar 8, 2002, 6:54 PM