Yes there is a way. Here is a cut from our work with multi domain support in roller:
You can get our code here:
http://users.linpro.no/~kjellm/roller-src-multidomain.tar.bz2
http://users.linpro.no/~kjellm/roller-patches.tar.bz2
But remember this is patches for roller 2.1 , and stuff might have changed for the roller version you are using. But it is a good way to start anyways.

We have chosen to run Roller under /blog/ instead of /roller/, as this is
easier for the users. The filter filters everything coming to /blog/domain/,
finds the right website in an association table and forwards the request to
the normal servlet in the traditional form (/blog/page/handle). In addition it
creates wrappers for the request and response. The point of the wrappers is to
override URLs and redirects so the user is not moved back to the main
Roller-site (The real address for the Roller server). The URLs are written
back to the /blog/domain/ form, and then re-translated from that form to the
form seen by the users (http://domain/blog/*) by a URLRewriteFilter. The job
of translating URLs like http://domain/blog/ to the /blog/domain form is left
to mod_rewrite in the Apache web server.


Shervin Asgari -


aschoessler wrote:
My current blog's URL looks like this:

http://www.mysite.com/blogs/page/allen

... is there a way to get rid of the page/ part and just have:

http://www.mysite.com/blogs/allen

Roller is installed as /blogs on my Tomcat Application Server.

Thanks !

- Allen Schoessler

Reply via email to