|
| Index | Recent Threads | Unanswered Threads | List Polls | Public Albums | Who's Online | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 4 |
|
| Author |
|
|
Stranger Joined: Feb 12, 2004 Post Count: 6 Status: Offline |
Hi, I've set up Apache and Tomcat to serve .jsp's correctly from the examples folder under tomcat, using the connector to serve without the port 8080. But we usually serve user pages using the UserDir command in Apache config so http://myserver.com/~username goes to the correct directory. How do I now allow Tomcat to serve the jsp pages correctly from these users folders? At the moment just the jsp script is delivered to the browser! Thanks for any help.. |
||
|
|
mvnForum Developer Vietnam Joined: Oct 16, 2002 Post Count: 2956 Status: Offline |
I am not familiar with this so I hope someone could help you. Good luck ![]() ---------------------------------------- Minh Nguyen mvnForum Developer Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com http://www.DienDanLinux.org |
||
|
|
mvnForum Documenter Joined: Jan 8, 2003 Post Count: 162 Status: Offline |
petie, which connector are you using? mod_jk, jk2, webapp? when you say jsp is delivered, you mean, when they navigate http://server.com/~user/a.jsp, it delivers raw JSP to the browser? Basically, you want to follow the same methods used for the /examples folder you applied. you need to tell apache to forward *.jsp requests in path, /home/*/public_html to tomcat. now, i am not sure about the recursion, but i believe this will do the trick. |
||
|
|
Stranger Joined: Oct 28, 2008 Post Count: 1 Status: Offline |
Was there ever an answer to this? I am having the same issues (with servlets and JSPs). I'm running Apache1.3.41/Tomcat 6.x and mod_jk1.2.26. /examples work with mod_jk, but not with ~userdirs |
||
|
|
|
|
|
Current timezone is GMT Jan 7, 2009 3:59:41 PM |

