[opencms-dev] export/publish/opencms.properties problem

Thomas Maerz thomasmaerz at gmx.de
Wed Feb 5 06:25:45 CET 2003


Hello,

I am using OpenCMS RC1, Tomcat 4.12, JDK 1.4.1, MySQL 3.XX on Linux.

OpenCMS is used to manage a static site served by Apache. When exporting
or publishing the project the static content is copied to the htdocs
directory of Apache. I modified the file "opencms.properties" to obtain
a smaller directury structure:

,----[ opencms.properties ]
| url_prefix_export=
| url_prefix_http=/${WEB_APP_NAME}/opencms
| url_prefix_https=
| url_prefix_servername=
`----

And now I am experiencing a strange behaviour of OpenCMS.
I am only pointing to the differences that stroke me.

Case 1:
  User:  Admin
  Group: Administrator

  Everything works fine.

Case 2:
  User:  newManager
  Group: Projectmanager

  The publishing of the project works properly. But after logging out of
  OpenCMS and closing all login windows the page
  /opencms/opencms/system/login/index.html isn't loaded correctly. For
  example the OpenCMS logo is referenced in the HTML source code with
  <img src="/system/login/login_logo.gif">.

  After restarting Tomcat the login page is served properly and
  eveything works fine.

I did set the property of the folder to "export=false" and the files
don't have their own export property.


Another question: When setting "opencms.properties" as quoted above I
can't view the files in the Online project. A workaround would be to set
url_prefix_export=http://apache.server/, but that's not what I want
since it should be a prefix for export and not for viewing, shouldn't it?


Regards,
Thomas



More information about the opencms-dev mailing list