copy current state of medienstaatsvertrag.org, to be verified
This commit is contained in:
125
website/agenda/config/config.cgi.off
Executable file
125
website/agenda/config/config.cgi.off
Executable file
@@ -0,0 +1,125 @@
|
||||
#!/usr/bin/perl
|
||||
use CGI qw(header param Vars);
|
||||
$CGI::POST_MAX = 0;$CGI::DISABLE_UPLOADS = 1;$cgi=new CGI();print $cgi->header();return;exit;
|
||||
__END__
|
||||
|
||||
<config>
|
||||
|
||||
# TODO: replace with projects from database
|
||||
project Corax
|
||||
|
||||
# widget support
|
||||
<controllers>
|
||||
# controller base directory
|
||||
domain /agenda/
|
||||
|
||||
# customize controller URLs
|
||||
calendar kalender
|
||||
event sendung
|
||||
events sendungen
|
||||
comments kommentare
|
||||
ical ical
|
||||
atom atom
|
||||
rss rss
|
||||
</controllers>
|
||||
|
||||
# widget support
|
||||
<templates>
|
||||
events event_menu.html
|
||||
events event_list.html
|
||||
events event_details.html
|
||||
events event_playlist.html
|
||||
events event_playlist.txt
|
||||
events event.ics
|
||||
events event.atom.xml
|
||||
events event.rss.xml
|
||||
events event.json
|
||||
|
||||
comments comments.html
|
||||
comments comments_newest.html
|
||||
comments comments.xml
|
||||
aggregator
|
||||
</templates>
|
||||
|
||||
|
||||
<system>
|
||||
config_file /home/calcms/website/agenda/config/config.cgi
|
||||
|
||||
log_file /var/www/vhosts/system/yourdomain.org/logs/error_log
|
||||
log_debug_file /home/calcms/log/calcms.log
|
||||
log_debug_memory_file /home/calcms/log/calcms-mem.log
|
||||
job_log /home/calcms/log/jobs.log
|
||||
|
||||
debug_memory 0
|
||||
debug 0
|
||||
</system>
|
||||
|
||||
<cache>
|
||||
use_cache 0
|
||||
use_client_cache 0
|
||||
compress 0
|
||||
cache_dir cache/
|
||||
base_url /programm
|
||||
</cache>
|
||||
|
||||
<locations>
|
||||
# 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://www.yourdomain.org/programm.html
|
||||
source_url_https https://www.yourdomain.org/programm.html
|
||||
|
||||
# feed base url
|
||||
source_base_url http://yourdomain.org/
|
||||
local_base_url /agenda/
|
||||
|
||||
# ajax
|
||||
base_domain http://yourdomain.org/
|
||||
base_url /agenda/?
|
||||
base_dir /home/calcms/website/agenda/
|
||||
|
||||
static_files_url /agenda/
|
||||
|
||||
# images
|
||||
local_media_dir /home/calcms/website/agenda_files/media/
|
||||
local_media_url /agenda_files/media/
|
||||
|
||||
# archives
|
||||
local_archive_dir /home/calcms/archive/
|
||||
local_archive_url /archive/
|
||||
|
||||
# synchronization
|
||||
sync_cms_dir /home/calcms/sync_cms/
|
||||
|
||||
# multi language support
|
||||
admin_pot_dir /home/calcms/website/agenda/planung/pot/
|
||||
</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
|
||||
</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>
|
||||
|
||||
</config>
|
||||
|
||||
Reference in New Issue
Block a user