Thank you to all......so, I can get to my "login" page after making some
macro adjustments, however, when I press login, my LoginServlet pipes out
some logs, I redirect to another location, but it appears that the redirect
replaces the IP address w/ 127.0.0.1

So something within the Apache configuration and/or the redirect rules is
replacing the x-forward-host
with localhost...

Paul


hemantmalik wrote:
> 
> You can use mod_jk module as well and then can connect to AJP connector of
> tomcat as mentioned by Bhaskar.
> 
> On Thu, May 7, 2009 at 9:41 PM, Bhaskar Roy <[email protected]>
> wrote:
> 
>> Use ajp protocol, much easier!
>>
>> Thanks
>> Bhaskar
>> http://lims.chikpea.com
>>
>> On Thu, May 7, 2009 at 6:32 PM, Ron Wheeler
>> <[email protected]>wrote:
>>
>> > brunp wrote:
>> >
>> >> I have this in profiler.xml:
>> >>
>> >> 158     <bean id='HostnameCriterionResolver'
>> >>
>> class='org.apache.jetspeed.profiler.rules.impl.HostnameCriterionResolver'>
>> >> 159       <!--  use the dot prefix, for ex: "accounting.xyz.com"
>> returns
>> >> "accounting" -->
>> >> 160       <constructor-arg type="boolean" index="0">
>> >> 161             <value>false</value>
>> >> 162         </constructor-arg>
>> >> 163     </bean>
>> >>
>> >> Paul Brun Quotes: I have this in mine too.....
>> >>
>> >> I will have to look into the mod_rewrite stuff tomorrow. No time this
>> >> evening....
>> >>
>> >>
>> >>
>> >>
>> > I am not sure if this is the same thing that you are trying to do but
>> we
>> > have Apache proxying Jetspeed 2.1.2 and 2.1.3 in exactly the same way.
>> > There are no modifications to the Tomcat application .
>> > Since the Jetspeed portal is reachable as localhost:8080 from the
>> server
>> > that Apache runs on, we just added a set of  proxy statements to the
>> > httpd-vhost.conf  to proxy www.mydomain.com/myportal to
>> > localhost:8080/myportal and created a dummy index.html on the apache
>> site
>> to
>> > redirect www.mydomain.com to  locahost:8080/myportal so the user can
>> just
>> > ask for http://www.mydomain.com
>> >
>> > If the tomcat is on another server, adjust your proxy destinations
>> > accordingly.
>> >
>> > You need to enable Apache's mod_proxy but after that it is trivial.
>> >
>> >
>> > Ron
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [email protected]
>> > For additional commands, e-mail: [email protected]
>> >
>> >
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Running-Jetspeed-within-Tomcat-behind-Apache-tp23413109p23433365.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to