Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I remove wps/wcm/connect from the url

39 views
Skip to first unread message

Tobias123

unread,
Oct 12, 2009, 8:36:46 AM10/12/09
to
How do I remove the "wps/wcm/connect" part from the url? The Lotus WCM URL's get really ugly.
A standard url looks like this: http://www.mysite.se/wps/wcm/connect/lib/site/home

In have tried these settings in the httpd.conf file, but it doesn't work. Does anybody know how it shold be written?


ServerName www.mysite.se

ProxyPass /wps http://wcmlab.esx.company.se:10040/wps
ProxyPass / http://wcmlab.esx.company.se:10040/wps/wcm/connect/lib/site/home/

RewriteEngine ON
RewriteLog logs/rewrite
RewriteLogLevel 9

RewriteRule ^(.*)/wps/wcm/connect/(.*)$ $1/$2 [R,L]


I have stolen the code from these 2 threads:
https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14078252&#14078252
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14225616

Eric Covener

unread,
Oct 12, 2009, 9:04:50 AM10/12/09
to

Proxying is kind of an extreme measure, and you don't want to redirect
anything.

Secondly, usually when people talk about "removing" something from a URL
they want to take the modified URL on input and make it look like the
original URL internally -- not continue to accept the full URL and then
translate it into a shortened version. This is because the server knows
only how to respond to the long version.

Unfortunately, rewrite won't fix up redirects to /wps/.... Are you only
worried only about some homepage and not subsequent pages showing up as
/wps/... in the URL?

No matter what you do, if you remove that prefix that doesn't leak out
back to the client you're probably opening a can of worms with all the
relative references also needing cleanup.

--
Eric Covener

Sunit Patke

unread,
Oct 12, 2009, 9:56:45 AM10/12/09
to

Use WebSphere Edge Components Caching Proxy along with friendly URL function
of portal server.

- Sunit

"Tobias123" <tobias...@atea.com> wrote in message
news:2033290879.1255351037257.JavaMail.wassrvr@ltsgwas010...

Pushpender

unread,
Oct 30, 2009, 7:02:37 AM10/30/09
to
0 new messages