Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache module :: Equivalent of nsapi.h

Status
Not open for further replies.

juverma

Programmer
Jan 5, 2006
1
IN
Hi Guys,

I am trying to move/migrate a web application which was hosted on iPlanet on Sun Solaris machine to apache server on Redhat Linux machine.

There was a server object/module (.so file) called as urlhash.so being used by the application. urlhash.so file was included in one of the 'init' directives in obj.conf file of netscape server. This module was compiled from urlhash.c program. urlhash.c program included nsapi.h file as one of the header files.

I was able to compile urlhash.c and make its respective .so file. I placed this .so file in the modules folder of apache at /usr/local/apache2/modules/ and I also made an entry of this .so file in the httpd.conf file as :

Loadmodule urlhash modules/urlhash.so

Now, when I attempt to start the server I get the following error which looks something like the following :

'Not able to load urlhash.so. Error before __nsapi30'

'__nsapi30' keyword was found in nsapi.h. Now, I feel that I am not able to link the appropriate file. Hence, I have a deduction that I have to write an apache module which is equivalent of nsapi.h.

Has anyone attempted to port nsapi.h to apache?

Any help, suggestions and thoughts will help me.

Thanks and regards,

Jugal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top