Login/Logout problems with Apache-Servers

From WebCalendar Wiki

Jump to: navigation, search

Contents

[edit] Summary

After upgrading or a fresh installation of WebCalendar, a LOGIN will not be proper working if another user or 'public access' will be used on the same Computer (client).
This strange behavior is not a problem of the WebCalendar 1.1.x. The reason for is that version 1.0.x has another Cookie handling than version 1.1.x.

WebCalendar 1.0.5 will be proper work using the php variable setting register_globals on.
WebCalendar 1.1.x. The setting for this version must be register_globals off.

[edit] How to solve

There are two possibilities to do that.

[edit] When your are the administrator of your webserver

  • check and modify the entry "AllowOverride None" to "AllowOverride Options" or "AllowOverride All" at httpd.conf. If you have to change this entry, don't forget to restart the webserver.
  • create/modify the .htaccess at the root of the WebCalendar-directory and add the line "php_flag register_globals 0" or "php_value register_globals Off" (both types of entries are valid).

[edit] If you are not an administrator of your webserver (e.g. foreign Webhoster)

  • create/modify the .htaccess at the root of the WebCalendar-directory and add the line "php_flag register_globals 0" or "php_value register_globals Off" (both types of entries are valid).


*.htaccess is a hidden file

Personal tools