LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache Tomcat mod_jk connector (https://www.linuxquestions.org/questions/linux-newbie-8/apache-tomcat-mod_jk-connector-305704/)

dashp 03-24-2005 07:12 PM

Apache Tomcat mod_jk connector
 
I am trying to access my servlets via the web but I am getting a "The page cannot be displayed" message. For example when I type
http://localhost/servlets/dir/servlet I am able to see the servlet however www.myweb.net/servlets/dir/servlet will not work. I can only access the apache's static content in the htdocs dir. As far as I know the mod_jk is installed correctly since I was able to access the tomcat examples via localhost. I also tried opening port 8009 on my router but no luck. Any Ideas. Here are my configurations:

#workers.properties
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13

#httpd.cconf
<VirtualHost localhost>
ServerName localhost

JkMount /admin worker1
JkMount /admin/* worker1

JkMount /servlets-examples worker1
JkMount /servlets-examples/* worker1

JkMount /servlets worker1
JkMount /servlets/* worker1

</VirtualHost>


All times are GMT -5. The time now is 02:24 PM.