summaryrefslogtreecommitdiff
path: root/install/default-conf/etc
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-11 18:10:20 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-11 18:10:20 +0200
commit49a20487e74aaa2fa17784c6c9d5a6179393e07c (patch)
tree3ace8aa439becc53f7187367a425ab3be1099169 /install/default-conf/etc
parent946c230e6f8e04c7dd8f92ca3190a51ac220f0ca (diff)
move default-config to install dir
Diffstat (limited to 'install/default-conf/etc')
-rw-r--r--install/default-conf/etc/apache/default47
-rw-r--r--install/default-conf/etc/apache/https19
-rw-r--r--install/default-conf/etc/crontab1
-rw-r--r--install/default-conf/etc/festival.scm17
4 files changed, 84 insertions, 0 deletions
diff --git a/install/default-conf/etc/apache/default b/install/default-conf/etc/apache/default
new file mode 100644
index 00000000..49e60ba1
--- /dev/null
+++ b/install/default-conf/etc/apache/default
@@ -0,0 +1,47 @@
+NameVirtualHost *:80
+<VirtualHost *:80>
+ ServerAdmin webmaster@localhost
+
+ DocumentRoot /var/www/http/
+ php_admin_value open_basedir "/var/www/"
+ <Directory />
+ Options FollowSymLinks
+ AllowOverride None
+ </Directory>
+ <Directory /var/www/http/>
+ Options Indexes FollowSymLinks MultiViews
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ # This directive allows us to have apache2's default start page
+ # in /apache2-default/, but still have / go to the right place
+ #RedirectMatch ^/$ /apache2-default/
+ </Directory>
+
+ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
+ <Directory "/usr/lib/cgi-bin">
+ AllowOverride None
+ Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ ErrorLog /var/log/apache2/error.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog /var/log/apache2/access.log combined
+ ServerSignature On
+
+ Alias /doc/ "/usr/share/doc/"
+ <Directory "/usr/share/doc/">
+ Options Indexes MultiViews FollowSymLinks
+ AllowOverride None
+ Order deny,allow
+ Deny from all
+ Allow from 127.0.0.0/255.0.0.0 ::1/128
+ </Directory>
+
+</VirtualHost>
diff --git a/install/default-conf/etc/apache/https b/install/default-conf/etc/apache/https
new file mode 100644
index 00000000..aaa0bf3f
--- /dev/null
+++ b/install/default-conf/etc/apache/https
@@ -0,0 +1,19 @@
+
+<VirtualHost *:443>
+ # SSL (START)
+ SSLEngine on
+ SSLCertificateFile /etc/apache2/ssl/apache.pem
+ SSLCertificateKeyFile /etc/apache2/apache.pem
+ # SSL (ENDE)
+ ServerAdmin webmaster@localhost
+ #kann auch einfach eine IP sein
+ ServerName localhost
+ php_admin_value open_basedir "/var/www/"
+ DocumentRoot /var/www/https
+ <Directory /var/www/https>
+ Order Deny,Allow
+ Allow from all
+ # Zeige keine Verzeichnisse an
+ Options -Indexes
+ </Directory>
+</VirtualHost>
diff --git a/install/default-conf/etc/crontab b/install/default-conf/etc/crontab
new file mode 100644
index 00000000..d58671bc
--- /dev/null
+++ b/install/default-conf/etc/crontab
@@ -0,0 +1 @@
+*/15 * * * * www-data (cd /var/www/services/ ; php5 cron_dect.php)
diff --git a/install/default-conf/etc/festival.scm b/install/default-conf/etc/festival.scm
new file mode 100644
index 00000000..d39be33e
--- /dev/null
+++ b/install/default-conf/etc/festival.scm
@@ -0,0 +1,17 @@
+;; Any site-wide Festival initialization can be added to this file.
+;; It is marked as a configuration file, so your changes will be saved
+;; across upgrades of the Festival package.
+;;
+
+
+; Server access list (hosts)
+(set! server_access_list '("[^.]+" "127.0.0.1" "localhost.*"))
+
+;; Command for Asterisk begin
+(define (tts_textasterisk string mode)
+ "(tts_textasterisk STRING MODE)
+ Apply tts to STRING. This function is specifically designed for
+ use in server mode so a single function call may synthesize the string.
+ This function name may be added to the server safe functions."
+ (utt.send.wave.client (utt.wave.resample (utt.wave.rescale (utt.synth (eval (list 'Utterance 'Text string))) 5) 8000)))
+