General FAQs
This section provides frequently asked questions (FAQs) related to DWebPro.
-
I want DWebPro to use a different configuration file when it starts. How do I accomplish that?
-
How do I personalize the startup and shutdown splash screens?
-
How do I register ActiveX and COM objects for use with my Web application?
-
How do I change the tray icon, tray icon hint text, and About box for DWebPro?
|
Does the installation of your preconfigured packages affect the behavior of other applications already installed on a PC, such as MySQL, Apache, or PHP? |
|||
|
All of our preconfigured packages (see Add-On Packages topic) are completely stand alone and all required files are copied to the deploy folder (and subfolders). You will not experience any change in the behavior of other applications on your PC. |
|||
|
How can I change the messages shown by DWebPro? |
|||
|
All the messages shown by DWebPro are saved in the
|
|||
|
Can I use custom fonts in my Web sites? |
|||
|
Yes, you can. Just copy the True Type Fonts ( [Fonts] Batang=##DWEBPRO_PATH##\fonts\batang.ttc Each name/value pair in the |
|||
|
I want DWebPro to use a different configuration file when it starts. How do I accomplish that? |
|||
|
DWebPro provides a command line parameter (-f filename) that allows you to specify the DWebPro configuration file to use upon startup. For example, the following command starts DWebPro and specifies a custom INI file for use: dwebpro.exe -f my-ini-file.ini |
|||
|
Can I insert comments in the http.ini configuration file? |
|||
|
Yes, just add a ";" char at the beginning of the row where you want to add a comment like in the following example: [Main] ; Remember to set the Browser -> URL field to Url=http://##DWEBPRO_HOSTNAME##:##DWEBPRO_WEBSERVER_PORT##/ ; to use the dwebpro.cd host name in the browser address bar. HostName=dwebpro.cd |
|||
|
How do I personalize the startup and shutdown splash screens? |
|||
|
You will be able to personalize both startup and shutdown splash
screens with any DWebPro
commercial license. Open the [SplashScreen] ; Startup settings Startup.Show=1 Startup.Time=2000 Startup.WaitForInit=1 Startup.FileName=##DWEBPRO_PATH##\data\splash.jpg Startup.MaskColor=#000000 ; Startup Flash settings Startup.Flash.Movie= Startup.Flash.Width=0 Startup.Flash.Height=0 Startup.Flash.Quality= Startup.Flash.BGColor= Startup.Flash.WMode= Startup.Flash.Loop=0 Startup.Flash.Menu=0 ; Shutdown settings Shutdown.Show=0 Shutdown.Time=0 Shutdown.WaitForShutdown=1 Shutdown.FileName=##DWEBPRO_PATH##\data\splash.jpg Shutdown.MaskColor=#000000 ; Shutdown Flash settings Shutdown.Flash.Movie= Shutdown.Flash.Width=0 Shutdown.Flash.Height=0 Shutdown.Flash.Quality= Shutdown.Flash.BGColor= Shutdown.Flash.WMode= Shutdown.Flash.Loop=0 Shutdown.Flash.Menu=0
Also note that you can use the Mask Color box to the right of the Splash Screen boxes to define the transparency color for the displayed graphic. Refer to the DWebPro Internal Constants topic for further information on paths when specifying the location of your custom startup/shutdown splash screens. |
|||
|
How do I register ActiveX and COM objects for use with my Web application? |
|||
|
Open the [Main] ActiveX=NETStreams.dll|newobjectspack1.dll|SQLITECOMUTF8.dll If the correct registration/unregistration process of the components requires additional user interaction, you can use DWebPro's External Software feature to perform this work. Refer to the External Software topic for more information.
|
|||
|
How do I change the tray icon, tray icon hint text, and About box for DWebPro? |
|||
|
Several fields in the [Main] ShowIcon=1 TrayIcon=##DWEBPRO_PATH##\data\myicon.ico AboutBox=##DWEBPRO_PATH##\data\myabout.bmp MaskColor=#0000FF ShowHint=1 Hint=Widget Web
|
|||
|
How can I copy a directory from the CD/DVD at startup and then automatically remove it when DWebPro closes? |
|||
|
The fields in The example below instructs DWebPro to create the web_files directory on the user's hard drive if it does not exist, clear out all files from that directory, copy (and overwrite, if necessary) all files from the ##DWEBPRO_PATH##\web_files directory to the directory on the user's hard drive, and to display the copy progress window as the copy occurs. In addition, note that DWebPro will clear all of the files in the hard drive directory location upon shutting down and will also remove the directory. [Directory0] Path=##DWEBPRO_TEMP##\web_files CopyFrom=##DWEBPRO_PATH##\web_files Overwrite=1 ShowCopyProgressWindow=1 ClearOnStartUp=1 ClearOnShutDown=1 For this example, the following copy progress window displays during the copy of the files from the CopyFrom location to the Path location.
Copy Progress dialog
Refer to the DWebPro Internal Constants topic for additional information on paths. |
|||
|
How do I enable or disable DWebPro warning messages? |
|||
|
The fields in [Warnings] Main=1 ActiveXService=1 ASPNETServerService=1 ASPServerService=1 CrontabService=1 DirectoriesService=1 ExternalSoftwaresService=1 FirebirdService=1 LockCDService=1 MsAccessService=1 MySQLService=1 PostgreSQLService=1 SQLiteService=1 HSQLDBService=1 SMTPServerService=1 WebServerService=1 BrowserService=1 ColdFusionService=1 TomcatService=1 ZopeService=1 MDACService=1 MSDEService=1 FlashPlayerService=1 WindowsInstallerService=1 The Main field refers to the DWebPro general main process, so setting this field to 0 will disable warning messages generated by the DWebPro general main process. |
|||
|
How can I start one external software application and hide it from the user on startup and then a different application on shutdown? |
|||
|
The [ShellExec0] Path=##DWEBPRO_PATH##\mystartupapp.exe Params= DefaultDir=##DWEBPRO_PATH## ShowModal=HIDE Wait=0 ExecAndWait=0 StartOn=0 [ShellExec1] Path=##DWEBPRO_PATH##\myshutdownapp.exe Params= DefaultDir=##DWEBPRO_PATH## ShowModal=NORMAL Wait=0 ExecAndWait=0 StartOn=1 |
|||
|
How can I ensure that users of my Web application are running Windows 2000 or higher but not Windows Vista? |
|||
|
The [WindowsRequirements] WindowsVersions.WindowsNT40PreSP6Workstation=0 WindowsVersions.WindowsNT40PreSP6Server=0 WindowsVersions.WindowsNT40PreSP6AdvancedServer=0 WindowsVersions.WindowsNT40Workstation=0 WindowsVersions.WindowsNT40Server=0 WindowsVersions.WindowsNT40AdvancedServer=0 WindowsVersions.Windows95=0 WindowsVersions.Windows95OSR2=0 WindowsVersions.Windows98=0 WindowsVersions.Windows98SE=0 WindowsVersions.WindowsMe=0 WindowsVersions.Windows2000Pro=1 WindowsVersions.Windows2000Server=1 WindowsVersions.Windows2000AdvancedServer=1 WindowsVersions.WindowsXPPro=1 WindowsVersions.Windows2003Server=1 WindowsVersions.Windows2003AdvancedServer=1 WindowsVersions.WindowsVista=0 WindowsVersions.WindowsLonghornServer=0 If a user attempts to run your Web application with an unsupported Windows version, the following message box displays:
Unsupported Windows version message
|
|||
|
How can I run a Web script every minute or hour? |
|||
|
Similar to the UNIX cron command, the DWebPro cron feature
starts a process that executes commands at specified dates and
times. You can enable the DWebPro cron feature by editing
The cron command consists of lines of six fields each. The fields are separated by spaces or tabs. The first five are integers that specify the following:
Each of these patterns may be either an asterisk (meaning all valid values) or a list of elements separated by commas. An element is either a number or two numbers separated by a minus sign (meaning an inclusive range). Notice the time is in 24 hour format, 0 is midnight and 13 is one in the afternoon. The sixth field is a string to be executed at the times specified by the first five fields. For example, if the operation starts with the GET string, DWebPro executes an HTTP request toward the specified URL (for example, GET http://127.0.0.1:8080/cron.php). The following example calls the EnableCron=1 Count=1 Cron0=0 * * * * GET http://127.0.0.1:8080/timerscript.php The following example calls the EnableCron=1 Count=1 Cron0=0 13 * * * GET http://127.0.0.1:8080/timerscript.php The following example calls the EnableCron=1 Count=1 Cron0=0 0 1,15 2 GET http://127.0.0.1:8080/timerscript.php |
|||
|
Does DWebPro support SSL connections? |
|||
|
DWebPro primary Web server supports SSL (https://) protocols for secure HTTP connections. Refer to the SSL Support settings in the Web Server topic for more information on secure connections. |
|||
|
Perl upload doesn't work, what can I do? |
|||
|
Try adding the following code before the "use CGI;" statement of your Perl scripts:
$CGITempFile::TMPDIRECTORY = $ENV{"TEMP"};
|
|||


