Hi Everyone, I have set up apache 2, tomcat 4.18 to connect to each other. I think I'm most of the way there but I have on problem.
If I have an index.html file in my c:\tomcat\webapps\nnmall2 directory, and then I have my web.xml file that has a welcome-file entry for index.html like the one below, I can access the page by entering http://www.nnmall2.com <welcome-file-list> <welcome-file> index.html </welcome-file> <welcome-file> index.jsp </welcome-file> </welcome-file-list> And the index.html page shows up fine. I also have a jsp file in the same directory, which I can access by entering http://www.nnmall2.com/index.jsp But... when I remove the <welcome-file>index.html</welcome-file>, restart everything and go to http://www.nnmall2.com... expecting to see my index.jsp page, I get the following error from Apache Forbidden You do not have permission to access / on this server. Apache/2.0.45(win32) mod_jk2/2.0.2 Server at www.nnmall2.com port 80. My problem is that this seems like an apache problem with the workers2.properties file, but I have tried everything I can think of and read everything I can find out about it. Any ideas?? I understand how all this works running tomcat as a stand-alone service, but connecting the two is new to me. BTW, I'm including my workers2.properties file, if someone would be generous enough to tell me I'm screwing up :-) -Brian workers2.properties file contents, which I copied from somewhere else and modified ## Define the connection for foo.dev to Tomcat in port 8019. # Our remote Tomcat server is in the IP 192.168.5.6 # The "debug" line is optional. You can remove it. [channel.socket:localhost:8019] host=127.0.0.1 port=8019 debug=10 ## Define foo.dev worker. # The worker is the actual owner and user of the channel to the Tomcat server. # If you don't define it, the channels above will continue existing, but will be completely useless. [ajp13:localhost:8019] channel=channel.socket:localhost:8019 debug=10 ## Uri mapping for foo.dev # This maps the Virtual Host "foo.dev" with any URL to the worker "ajp13:tomcat_server:8019". # Warning: the Virtual Host "foo.dev" *has* to be defined in Apache, or this won't work. # If the URI doesn't start with the name of the virtual server, it will be applied to the default host in Apache. [uri:/nnmall2/*] worker=ajp13:localhost:8019 debug=10 ## Don't forget to set shared-memory. Otherwise it will not work. [shm] debug=10 file=c:/apache2/logs/jk2.shm size=1000000 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]