Configuration/settings/restrict admin port

From Davical
Jump to: navigation, search

Set this to a TCP port number in order to restrict access to the administrative page to only be available on that particular port.

$c->restrict_admin_port = '1443';

The default is that any DAViCal instance will have the administrative pages active. When this setting is enabled, any requests for administrative URLs such as index.php, admin.php, setup.php and so forth, will be redirected to 'caldav.php', unless they are made on the appropriate port.

Note that your webserver must obviously be configured to be listening on the specified port, for this to be accessible! In some cases the disabling of the administrative interface in this way may be desirable, however.

Available from DAViCal version: 0.9.7.4 and later