Good day,
On 26 Nov 2006 08:22:21 +0530, Bhaskar Roy <[EMAIL PROTECTED]> wrote:
Hi Philip,
Thanks for your inputs, it works fine, but one thing, which I wanted to
do like http proxy, map a different name, like instead of /jetspeed, use
/xyz, so user doesn't see the jetspeed extension
ProxyPass /xyz ajp://127.0.0.1:8009/jetspeed
This didn't work, any idea???
Yes, normally with jetspeed you would generate a portal development
using the maven plugin. But this requires that you understand maven
and it's features (limitations?). I found this to be too complicated
and I wasted too much time trying to make it work.
The quick and dirty way is to change the context path in
$CATALINA_HOME/conf/Catalina/localhost/jetspeed.xml from /jetspeed to
/xyz
<Context path="/xyz" docBase="xyz" .....>
I did this and had to delete the jetspeed.war and change
webapps/jetspeed to webapps/xyz
I also did it on a system that had been running jetspeed for a while
under the context /jetspeed so in case anyone has a bookmark do
something like this.
ProxyPass /jetspeed ajp://127.0.0.1:8009/xyz
ProxyPass /xyz ajp://127.0.0.1:8009/xyz
Warning, doing this will have an impact on your development process.
It may not be the best practice but it is easier than working with the
jetspeed plugin and a capricious maven.
Philip
Thanks again,
Bhaskar
On Sat, 2006-11-25 at 16:44, Philip Mark Donaghy wrote:
> Hi Bhaskar,
>
> I use mod_proxy_ajp with apache 2.2 and tomcat 5.5.17 on SuSE 10.0 It
> is a piece of cake (expression meaning very easy).
>
> For each webapp you declare a similar proxy pass:
>
> ProxyPass /jetspeed ajp://127.0.0.1:8009/jetspeed
>
> The apache modules are configured in /etc/sysconfig/apache2. Include
> proxy_ajp in the APACHE_MODULES directive.
>
> I also set up secure login for Jetspeed. But this is classic apache
> stuff. See my blog.
>
> Regarding the layout. Some screens that are not very wide place the
> <div> tags below one another. You can change the width of the columns
> in the portlet.xml from the jetspeed-layouts portlet.
>
> Philip
>
> On 25 Nov 2006 12:28:48 +0530, Bhaskar Roy <[EMAIL PROTECTED]> wrote:
> > Finally I got most of the things working, except one major issue, I am
> > using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second portlet
> > shows up at the bottom, instead of right.
> >
> > I checked the Admin protlets, same problem, looks like a bug in jetspeed
> >
> > <Location /jetspeed/>
> > RequestHeader set Referer http://localhost:8080
> > ProxyPass http://localhost:8080/jetspeed/
> > ProxyPassReverse http://localhost:8080/jetspeed
> > SetOutputFilter proxy-html
> > ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
> > RequestHeader unset Accept-Encoding
> > </Location>
> >
> > here is my config for proxy
> >
> > On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> > > I tried all suggestions found in web, it works partially, sometimes
> > getting
> > > image problem, sometimes URLs are not re-written.
> > >
> > > Any idea?
> > >
> > > Thanks
> > > Bhaskar
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > --
> > Regards,
> >
> > Bhaskar Roy
> >
> > CTO PlatformExchange Inc
> > +1-415-661-8910
> > +91-9886081541
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
--
Regards,
Bhaskar Roy
CTO PlatformExchange Inc
+1-415-661-8910
+91-9886081541
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]