Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apache module setup

2 views
Skip to first unread message

Jae H. Lee

unread,
Apr 3, 2002, 4:40:39 PM4/3/02
to
Hello to all -

Can anyone tell me how to set apache environment for websnap apache module?
I followed the direction from Deploy.txt and believed that I set up Apache
correctly. I loaded my apache dll successfully.

But whenever I tried to run my websnap application from web browser, I see
the following page only.

< On my web browser >

Welcom
Login Logout


* All page modules are not secured with login component.

Jaehun Lee

unread,
Apr 4, 2002, 1:06:41 AM4/4/02
to
my fault.

misconfigured httpd.conf file.


"Jae H. Lee" <jaehu...@riskmetrics.com> wrote in message
news:3cab76a1$1_2@dnews...

Jae H. Lee

unread,
Apr 4, 2002, 3:19:41 PM4/4/02
to
Some of you probably has hard time to make your DSO work.
Here is what I did.

< System Environment >
Windows 2000 / Apache / MySQL 3.2x stable version
* Apache / MySQL are running in a service mode.
Delphi version 6.0 Enterprise with patch 2.


1. First, I created WebSnap application for Web Debugging Tool. Worked
o.k.
2. Create a new project with Apache DSO module option. Include all files
(.dfm, .pas, html) that I made.
3. Rename module name in project file. Specify the content type.
exports
apache_module name 'myweb_module';
begin
Application.Initialize;
ContentType := 'myweb-handler';
Application.Run;
end.
4. Compile again, and I get a new DLL file.
5. Make a new folder right under Apache directory. I created
'mywebmodules'.
6. Copy DLL, *.HTML to this 'mywebmodules' directory
7. Stop Apache service and open 'httpd.conf' file. Add the following lines
at the end of file
LoadModule myweb_module mywebmodules/MyWeb_Apache_Dist.dll
<Location /test>
SetHandler myweb-handler
</Location>
8. Start Apache service again, and open 'http://localhost/test' from your
browser. This will call Apache DSO module specified in 'httpd.conf' file.

** To deploy **

Register these two files first on the server using TregSvr.exe program (in
borland\bin directory)
1. stdvcl40.dll
2. WebBrokerScript.tlb

Since I used MySQL with DBExpress components and TClientDataSet component
from DBAccess pannel,
the following files have to be copied to 'windows'\system32 directory.

- LIBMYSQL.DLL
- DBEXPMYSQL.DLL
- MIDAS.DLL

Everything is working ok so far on my PC.
If there is anything incorrect or missing, please post your comments so that
we all can share the idea.


- Jae from New York -


"Jae H. Lee" <jaehu...@riskmetrics.com> wrote in message
news:3cab76a1$1_2@dnews...

Dan Clark

unread,
Apr 12, 2002, 10:49:29 AM4/12/02
to

We just tried to run an ISAPI DLL on Apache and we're also stuck getting nothing but the login page...so what did you misconfigure to get this behavior?

Jaehun Lee

unread,
Apr 15, 2002, 1:26:10 PM4/15/02
to

** To deploy **


"Dan Clark" <dcl...@ecteon.com> wrote in message news:3cb6f3f9$1_1@dnews...

Dan

unread,
Apr 22, 2002, 4:27:47 PM4/22/02
to

That only seems to get the default page to display...is a seperate location tag required for each page in the application?
0 new messages