128 lines
3.3 KiB
Perl
Executable File
128 lines
3.3 KiB
Perl
Executable File
#!/usr/bin/perl
|
|
print "Content-type:text/plain\n\nAccess denies.";
|
|
exit;
|
|
__END__
|
|
|
|
<config>
|
|
|
|
Define DOMAIN your-domain.org
|
|
Define BASE_DIR /home/calcms/website
|
|
Define LOG_DIR /home/radio/log
|
|
|
|
# default project from database
|
|
project Corax
|
|
domain ${DOMAIN}
|
|
|
|
<filter>
|
|
# projects_to_exclude project1
|
|
# locations_to_exclude location1,location2
|
|
</filter>
|
|
|
|
<controllers>
|
|
# controller base directory
|
|
domain /agenda/
|
|
|
|
# customize controller URLs
|
|
calendar kalender
|
|
event sendung
|
|
events sendungen
|
|
comments kommentare
|
|
ical ical
|
|
atom atom
|
|
rss rss
|
|
</controllers>
|
|
|
|
<system>
|
|
config_file ${BASE_DIR}/agenda/config/config.cgi
|
|
|
|
log_file /var/www/vhosts/${DOMAIN}/logs/error_log
|
|
log_debug_file ${LOG_DIR}/${DOMAIN}/calcms.log
|
|
log_debug_memory_file ${LOG_DIR}/${DOMAIN}/calcms-mem.log
|
|
|
|
debug_memory 0
|
|
debug 0
|
|
</system>
|
|
|
|
<cache>
|
|
use_client_cache 0
|
|
base_url /programm
|
|
</cache>
|
|
|
|
<locations>
|
|
temp_dir ${BASE_DIR}/temp/
|
|
|
|
# URLs of the program page the agenda should be injected into (done by preload_agenda.pl)
|
|
# this is the page containing calcms_menu, and other ids
|
|
source_url_http http://${DOMAIN}/programm.html
|
|
source_url_https https://${DOMAIN}/programm.html
|
|
|
|
# feed base url
|
|
source_base_url https://${DOMAIN}/
|
|
local_base_url /agenda/
|
|
editor_base_url /agenda/planung/
|
|
|
|
# ajax
|
|
base_domain https://${DOMAIN}/
|
|
base_url /agenda/?
|
|
base_dir ${BASE_DIR}/agenda/
|
|
|
|
static_files_url /agenda/
|
|
|
|
# images
|
|
local_media_dir ${BASE_DIR}/agenda_files/media/
|
|
local_media_url /agenda_files/media/
|
|
thumbs_url /thumbs/
|
|
|
|
# archives
|
|
local_archive_dir /home/calcms/archive/
|
|
local_archive_url /archive/
|
|
|
|
# listen
|
|
listen_dir /home/calcms/${DOMAIN}/
|
|
listen_url https://${DOMAIN}/listen/
|
|
|
|
local_audio_recordings_dir ${BASE_DIR}/recordings/
|
|
local_audio_recordings_url /agenda_files/recordings/
|
|
|
|
# multi language support
|
|
admin_pot_dir ${BASE_DIR}/agenda/planung/pot/
|
|
|
|
email info@${DOMAIN}
|
|
</locations>
|
|
|
|
<permissions>
|
|
result_limit 500
|
|
|
|
# limit creating comments in days before and after start of event
|
|
no_new_comments_before 10
|
|
no_new_comments_after 60
|
|
|
|
hide_event_images 0
|
|
</permissions>
|
|
|
|
<access>
|
|
hostname localhost
|
|
port 3306
|
|
database calcms
|
|
|
|
username calcms_read
|
|
password xxx
|
|
|
|
username_write calcms_write
|
|
password_write xxx
|
|
</access>
|
|
|
|
<date>
|
|
time_zone Europe/Berlin
|
|
language de
|
|
day_starting_hour 6
|
|
</date>
|
|
|
|
no_result_message Radio ${DOMAIN}
|
|
events_title Radio ${DOMAIN}
|
|
events_description Hört mehr Radio
|
|
|
|
|
|
</config>
|
|
|