troubleshooting Question

document root on a backend server. like JBOSS

Avatar of Bigflicks
Bigflicks asked on
Apache Web Server
10 Comments1 Solution1097 ViewsLast Modified:
i have 2 server
2.jboss 4.0.2

access flow
apache <---> jkmodule <----> jbosss

so like other i have jkmodule
virtual hosting is on apache server

VirtualHost *:80>
DocumentRoot /usr/website_root/
DirectoryIndex index.jsp
RedirectPermanent /index.html

i also i have redirection to the backend server from the index server which works fine.

but when i do this the browser shows me the url   on just hitting

here /xxx/faces/jsp/index.jsp are on backend server (that is JBOSS)

can i in the apache virtual host change.. the documentroot and documentindex point to the backend sever like this

documentroot "/xxx/faces/jsp"
documentindex index.jsp

doing this the home page would not get redirect to a long url but like

but would be

Pramod Shetty


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros