troubleshooting Question

document root on a backend server. like JBOSS

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

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

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

VirtualHost *:80>
ServerAdmin admin@aaa.com
DocumentRoot /usr/website_root/
DirectoryIndex index.jsp
ServerName aaa.xxx.com
RedirectPermanent /index.html http://aaa.xxx.com/xxx/faces/jsp/index.jsp

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

http://aaa.xxx.com/xxx/faces/jsp/index.jsp   on just hitting http://aaa.xxx.com

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
http://aaa.xxx.com/xxx/faces/jsp/index.jsp

but would be http://aaa.xxx.com/

regards
Pramod Shetty




ASKER CERTIFIED SOLUTION
ahoffmann

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