Files
racalmas/website/agenda/config/config.cgi.off
2023-02-26 23:06:58 +01:00

111 lines
2.8 KiB
Perl
Executable File

#!/usr/bin/perl
print "Content-type:text/plain\n\nAccess denies.";
exit;
__END__
<config>
Define DOMAIN localhost
Define BASE_DIR /home/calcms/racalmas/website
# default project from database
project my-project
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>
<locations>
temp_dir ${BASE_DIR}/temp/
# source website to inject calcms widgets into
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/
widget_render_url /programm
# ajax
base_domain https://${DOMAIN}/
base_url /agenda/?
base_dir ${BASE_DIR}/agenda/
static_files_url /agenda/
# images
local_media_dir ${BASE_DIR}/media/
local_media_url /media/
thumbs_url /thumbs/
icons_url /icons/
# archives
local_archive_dir /home/calcms/archive/
local_archive_url /archive/
# listen
listen_dir /home/calcms/${DOMAIN}/
listen_url https://${DOMAIN}/listen/
# upload
local_audio_recordings_dir ${BASE_DIR}/recordings/recordings/
local_audio_recordings_url /recordings/
# multi language support
admin_pot_dir ${BASE_DIR}/agenda/planung/pot/
email info@${DOMAIN}
theme default
</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 calread000
username_write calcms_write
password_write calwrite000
</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>