summaryrefslogtreecommitdiffabout
path: root/conf
Side-by-side diff
Diffstat (limited to 'conf') (more/less context) (ignore whitespace changes)
-rw-r--r--conf/.gitignore6
-rw-r--r--conf/dudki.conf.in5
-rw-r--r--conf/httpd.conf.in29
-rw-r--r--conf/sitecing.conf.in25
4 files changed, 65 insertions, 0 deletions
diff --git a/conf/.gitignore b/conf/.gitignore
new file mode 100644
index 0000000..af40a7f
--- a/dev/null
+++ b/conf/.gitignore
@@ -0,0 +1,6 @@
+dudki.conf
+httpd.conf
+banner_top
+sitecing.conf
+banner_bottom
+banner_side
diff --git a/conf/dudki.conf.in b/conf/dudki.conf.in
new file mode 100644
index 0000000..df34f8d
--- a/dev/null
+++ b/conf/dudki.conf.in
@@ -0,0 +1,5 @@
+<Process @dudki_id@>
+ PidFile @web_run_root@/run/sitecing.pid
+ RestartCommand "exec sh @web_run_root@/bin/run"
+ User @sitecing_user@
+</Process>
diff --git a/conf/httpd.conf.in b/conf/httpd.conf.in
new file mode 100644
index 0000000..5910620
--- a/dev/null
+++ b/conf/httpd.conf.in
@@ -0,0 +1,29 @@
+FastCgiExternalServer @web_run_root@/fastcgi-bin/site-c-ing -socket @web_run_root@/run/sitecing-socket
+<VirtualHost *:80>
+ ServerName @v_hostname@
+ DocumentRoot @web_src_root@/htdocs
+ <Directory @web_src_root@/htdocs>
+ AllowOverride All
+ allow from all
+ </Directory>
+ <DirectoryMatch /.svn/>
+ deny from all
+ </DirectoryMatch>
+ <Files .*>
+ deny from all
+ </Files>
+ <Files Makefile*>
+ deny from all
+ </Files>
+ CustomLog @web_run_root@/logs/access.log combined
+ ErrorLog @web_run_root@/logs/error.log
+ LogLevel error
+ Alias /fastcgi-bin/ @web_run_root@/fastcgi-bin/
+ <Directory @web_run_root@/fastcgi-bin/>
+ allow from all
+ </Directory>
+ DefaultLanguage en
+ Action site-c-ing /fastcgi-bin/site-c-ing
+ AddHandler site-c-ing .chtml
+ DirectoryIndex index
+</VirtualHost>
diff --git a/conf/sitecing.conf.in b/conf/sitecing.conf.in
new file mode 100644
index 0000000..67d3cd5
--- a/dev/null
+++ b/conf/sitecing.conf.in
@@ -0,0 +1,25 @@
+MultiProcess on
+ListenSocket @web_run_root@/run/sitecing-socket
+MinChildren 2
+MinSpareChildren 2
+MaxChildren 4
+MaxSpareChildren 4
+RequestsPerChild 64
+PidFile @web_run_root@/run/sitecing.pid
+Daemonize on
+
+RootSource @web_src_root@/htdocs/
+RootIntermediate @web_run_root@/cache/sitecing/intermediate/
+RootSO @web_run_root@/cache/sitecing/so/
+
+@config_sitecing@
+
+CPPFLAGS -I. -I@web_run_root@/include/
+
+ExceptionHandler @exception_handler@
+
+Build @build_on_demand@
+CPPDeps on
+IntermediateDeps @sitecing_prefix@/share/sitecing/component.skel
+
+AutoBuildFiles *.chtml