[opencms-dev] adding a /sites/mysite

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Fri Dec 2 14:20:18 CET 2005


On Fri, Dec 02, 2005 at 12:49:56PM +0100, Michael Moossen wrote:
> Hi Christoph !
> > when I try to open the login link on the home page or when I type in
> > http://localhost/opencms/system/login (which is rewritten to
> > http://localhost:8080/system/login/index.html.
> something is wrong, it should be rewritten to
> http://localhost:8080/opencms/system/login/index.html


Here is my rewrite log:

127.0.0.1 - - [02/Dec/2005:14:11:04 +0100] [localhost/sid#4a9668][rid#b4b098/ini
tial] (2) init rewrite engine with requested uri /system/login/
127.0.0.1 - - [02/Dec/2005:14:11:04 +0100] [localhost/sid#4a9668][rid#b4b098/ini
tial] (3) applying pattern '^/opencms/opencms/(.*)$' to uri '/system/login/'
127.0.0.1 - - [02/Dec/2005:14:11:04 +0100] [localhost/sid#4a9668][rid#b4b098/ini
tial] (2) rewrite /system/login/ -> /opencms/opencms/system/login/
127.0.0.1 - - [02/Dec/2005:14:11:04 +0100] [localhost/sid#4a9668][rid#b4b098/ini
tial] (2) forcing '/opencms/opencms/system/login/' to get passed through to next
 API URI-to-filename handler


The funny thing is, when I remove that second <site> entry (8081) from
opencms-system.xml the rewriting works.

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list