Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

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
Avatar of ahoffmann
ahoffmannFlag of Germany image

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

Commented:
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answers