Hi Chris, i've downloaded the webapp-module and i did copy the "libapr.dll" and "mod_webapp.so" to /modules directory where all the other .so files are residing. But i'm getting the following error when i restart the httpd.
Cannot load /etc/httpd/modules/mod_webapp.so into server: /etc/httpd/modules/mod_webapp.so: invalid ELF Please let me know what else is needed. Thank you Vijay headerslawski wrote: > Hi Jerry Pulley, > > Q1. Just where and how are these places into the .conf? > > To connect Tomcat 4.0.1 to Apache 1.3.22 you need the webapp-module, > which is available under: > > >http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/win32/webapp-module-1.0-tc40-windows.zip > > Please read the INSTALL.txt in that zip-archive for detailed > information about installing the webapp-module. > > A short summary of the required steps and the directives placed in > httpd.conf: > > 1) Copy mod_webapp.so and libapr.dll from the zip-archive into > Apache's libexec directory. > > 2) Edit httpd.conf in Apache's conf directory: > > - Search for "LoadModule" and add the following line below the other > "LoadModule" directives: > > LoadModule webapp_module libexec/mod_webapp.so > > - Search for "AddModule" (it should be right after the "LoadModule" > directives) and add the following line below the other "AddModule" > directives: > > AddModule mod_webapp.c > > - Finally add the following lines at the end of http.conf: > > <IfModule mod_webapp.c> > WebAppConnection conn warp localhost:8008 > WebAppInfo /webapp-info > WebAppDeploy examples conn /examples > </IfModule> > > 3) Test the configuration with "apache -t". > > > Q2. Where and how do I relocate the server root so as to hide it from other > > users? > > The "ServerRoot" directive points at the directory where you installed > Apache, for example something like "C:/programs/Apache Group/Apache". > Easiest way is to reinstall Apache in a different directory. Or you > could move an already existing installation into a different directory, > but you have to change the path information of several directives in > httpd.conf. > But to really restrict access to your tomcat or apache directories you > will need something like NTFS with ACLs (access-control-lists), which > is probably not available under Win98. You might need ME or W2K for > this, not sure. > > See http://jakarta.apache.org/site/mail2.html for available archives about > Tomcat, for example http://www.mail-archive.com/[email protected]/, > or you can also mail me. > > Good luck, > > Chris > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
