Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: URL Redircting |
|
Author |
|
vivek4075
Joined: 25 Jan 2010 Posts: 2
|
Posted: Mon 25 Jan '10 12:34 Post subject: URL Redircting |
|
|
hi i am new to this Apache user list. I have a query. i am using Apache 2.2 bridge with Tomcat6.0.18 its working fine. But if i call some url which contain action like .faces .do .object then getting 404 error. after that i added same like for jsp
JkMount /*.faces
JkMount /*.do
JkMount /*.object
now i am getting soothing right.
1) Is it ok to aad these kind of mod in httpd.conf file.
2) and if some fake folder url which is comming from web.xml i mean to say that folder hirarchy does not exist in the Directory
like http://localhost:81/MyApp/admin/ure/ure/js/admin/basic.js is url with fake name of ure actual URL shoulfd be like
like http://localhost:81/MyApp/admin/basic.js
how to handle these kind of situation?
help me
Thanks in advance
vivekjoy |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
|
Back to top |
|
vivek4075
Joined: 25 Jan 2010 Posts: 2
|
Posted: Wed 27 Jan '10 11:26 Post subject: URL Redircting |
|
|
Thanks for your reply.
i am going to explain you
i am using mod_jk module which have some limitations.i have deployed static content on apache2.2 and dynamic content on tomcat6. i can call index.html page but that index.html is trying to redirect on login.faces, that part should be handled by tomcat but it is not happing. after that i added JkMount /*.faces in httpd.conf file now it is redirecting (please provide me some solution if it is wrong ).
and some .js file which is deployed on apache after lanching the web application in between url is searching .js file inside ...../ure/ure/folder/*.js
"ure/ure" this part of url is not physically map in web server because this part of url is comming from web.xml of web application.
<mapping>
<url-pattern>/ure/ure/*</url-pattern>
</mapping>
so here i am getting 404 error
what should i do for this give me some tips.
Thanks in advance
VivekJoy
[/b] |
|
Back to top |
|
|
|
|
|
|