Forum Moderators: phranque

Message Too Old, No Replies

Weird Redirect Issue...

Need some other sets of eyes with more experience to see this...

         

factorypower

1:07 pm on May 17, 2005 (gmt 0)

10+ Year Member



Where to begin...

Our main website points to an index file that has a meta tag redirect that takes the users to a page located down the folder structure about 3 levels so that the pages all load under our one folder where tomcat is running to properly handle .jsp pages... The problem is that when we turn off Performance Cache this no longer redirects at all it returns an error page "page cannot be displayed" If we leave performance cache on we cannot get IP addresses for our visitors to even see how many people are coming to our sites... (I found out this is either an all on or all off feature). So I need to be able to have the site redirect properly but still be able to capture IP address in the logs for stats reasons... I dug into the config file and noted the changes that were made when the "performance cache" is turned on and off...

Some of the changes that I saw made sense... (the port changes for all of the virtual sites from 80 to 16080) but the one change that has me wondering is that KeepAlive was turned from Off to On. I am wondering if I manually edit the config file and leave all of the ports set to 80 but change the KeepAlive back to Off if that will correct my problem with the redirect not working...

Also would I be better served (I think I already know the answer to this one... :-) ) to setup this redirect permanently in apache? And if so how would I go about that?

All of this stuff can be viewed by going to:
<snip>

There you will be redirected to the sub folder... (this has to be this way for now until I make many more changes and get away from the .jsp pages) so in order for the site to work properly it must have that big long URL otherwise we have found it cannot find Tomcat...

Thanks,

N. Lamb

[edited by: jdMorgan at 1:12 pm (utc) on May 17, 2005]
[edit reason] No URLs, please. See TOS. [/edit]