Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: My own content module |
|
Author |
|
adisel
Joined: 26 Jul 2012 Posts: 3 Location: Israel
|
Posted: Thu 26 Jul '12 10:03 Post subject: My own content module |
|
|
Hi all,
I am writing my own content module to apache 2.2 on windows 2000 using Visual Studio 6. This dll is based on an ISAPI extension, but the web server interface is as apache demands.
I try to load the module by adding this to config:
LoadModule test_module modules/mod_test.dll
and I get this error in the log file:
httpd.exe: Syntax error on line 130 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:\Program Files\Apache Software Foundation\Apache2.2\modules/mod_test.dll into server: Invalid access to memory location.
How can I solve this problem? I have no idea where to start.. I wrote a simple hello world module and it was loaded successfully, and worked. But this module is much more complicated..
Thanks! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 26 Jul '12 21:18 Post subject: |
|
|
It would help if you could post your code on pastebin.com
Is there information in your error log? Setted log level to debug? |
|
Back to top |
|
|
|
|
|
|