roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mateusz Kaduk" <mateusz.ka...@gmail.com>
Subject Re: Access control for some path of Roller
Date Tue, 13 Nov 2007 15:12:22 GMT
2007/11/13, Rocco Scappatura <Rocco.Scappatura@sttspa.it>:
> I'ld like to use only one weblog without registered user (other the admin,
> which is only the admin of roller).

Hi,

In You're apache2 configuration for Your virtual host use RedirectMatch.
For example(www.mydomain.com/user) to redirect user and user/ add

RedirectMatch ^/(user|user/)$ http://www.mydomain.com/roller/user

than in order to redirect from roller(www.mydomain.com/roller &
www.mydomain.com/roller/) and directly(www.mydomain.com) add

RedirectMatch ^/(roller|roller/)$ http://www.mydomain.com/roller/user
RedirectMatch ^/$ http://www.mydomain.com/roller/user

For more info read apache2 documentaion about Rewrite, RedirectMatch etc...

In order to work with domain and without :8080 port after domain. You need
jk2 connector for apache.
Its a apache module which connects to running tomcat.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message