Subject Re: web program getting started and very frustrated right now
From <rich@autotraker.com> <<rich@autotraker.com>>
Date Fri, 14 Sep 2018 10:08:16 -0400
Newsgroups dbase.getting-started

Consider naming your .EXE as .DBW for web apps.
There are several reasons to do this but one of which is to make
configuration a lot easier.
When you install dBASE is also configures .DBW files as a web applet so
Apache knows to run it instead of downloading it.
This directive tells Apache to use the extension type found in the registry
(.DBW)
TypesConfig  conf/mime.types
Otherwise you need to make sure .EXE or .DBW are included in you AddHandler
directive.
AddHandler cgi-script .cgi .pl .asp .exe .dbw
You should only put your .DBW or .EXE file in the cgi-bin folder since that
is already defined in your ScriptAlias directive. Unless you change the
ScriptAlias directive.
ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"
If you change it you also have to change the Directory directive for that
folder. Easier not to change it.
If you are using ADO you also have to add
PassEnv CommonProgramFiles(x86)
to your Apache conf file. (There is other code you have to add to your
program also.)
So it all depends on setting up your Apache conf file properly. Once that's
done then it becomes a lot easier.
I'm not sure how much is covered in Ken's book but that's a good place to
start.
I have dBASE web applets running on my servers for years. Other than the
occasional error which is usually traced back to bad code, they run great.
Rich...



"Richard Kuzma"  wrote in message news:z381aD9SUHA.1832@ip-AC1E04A7...

hello everyone, so far i got the apache server installed and tested it and
it is working, but no matter what dbase web program i try to test it juse
downloads it and that is it. I am using google chrome, what am i missing
please. I am compiling into exe's can someone please help me thanks. Rich