| Author |
Using JForum via mod_jk
|
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
I'm using Tomcat via mod_jk and an ajp13 connector, so I connect to Tomcat via Apache (port 80) which maps /servlet/ to Tomcat. I am running several other servlets on the same server.
When I access http://myserver/servlet/jforum/forum/list.page I get an HTML page where none of the images or links work as none of them are prefixed by /servlet/jforum/
1) How do I add the path prefix?
2) I also get "java.io.IOException: The request '/servlet/jforum/forums/list.page' is not valid. A correspondent URL Pattern was not found" even though I have
<servlet-mapping>
<servlet-name>jforum</servlet-name>
<url-pattern>*.page</url-pattern>
</servlet-mapping>
in my web.xml. Is this related to 1)?
Thanks [originally posted on jforum.net by nsedley]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
Map *.page as well, not just /servlet
JForum will not work if you try to access using some virtual dir like /servlet.. This is because the way I process the "user friendly urls".
Rafael [originally posted on jforum.net by Rafael Steil]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
Oh, well....
I would have been nice to use JForum....
Bye Bye [originally posted on jforum.net by nsedley]
|
 |
 |
|
|
subject: Using JForum via mod_jk
|
|
|