Forum Moderators: phranque

Message Too Old, No Replies

Apache/Tomcat -/subdir redirect problems

         

ottodyb

6:33 pm on Feb 4, 2008 (gmt 0)

10+ Year Member



Hi all,

Been trying to read all forum post I can find about redirect but I haven’t really found a solution to my problem.

At first it sounds really easy, so it might be me being a armature at apache tomcat.

This is what i have :
CentOS running apache - tomcat 5.5, with InfoGLUE CMS running on the top.
all request on www.mydomin.com is redirected and taken care of infoglue -> www.mydomain.com/infoglueDeliverLive..yadayada.

I want to set up a subdirectory:
1. www.mydomin.com/test that either redirect to var/www/html/test and the index.html file which is located there.
2. OR redirect www.mydomain.se/test -> www.myothercoolsite.com

So far I’ve been able to do the following:

1.
www.mydomain.com/test redirects to [127.0.0.1:8080...]
"Navigation to the webpage was cancelled"
NOT WORKNIG

www.mydomin.com/test/index.html -> CORRECT / WORKS FINE, accesses my index.html in the test dir. But im not interested in wring index.html after the .../test

2.
www.mydomain.com/test -> www.myothercoolsite.com , doesn’t work at all.

Haven’t got that much experience in using apache -tomcat , so all help with configfiles and config i should do, is very my appreciated.

best regards,
Otto