-rw-r--r-- | conf/.gitignore | 6 | ||||
-rw-r--r-- | conf/dudki.conf.in | 5 | ||||
-rw-r--r-- | conf/httpd.conf.in | 29 | ||||
-rw-r--r-- | conf/sitecing.conf.in | 25 |
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 @@ | |||
1 | dudki.conf | ||
2 | httpd.conf | ||
3 | banner_top | ||
4 | sitecing.conf | ||
5 | banner_bottom | ||
6 | 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 @@ | |||
1 | <Process @dudki_id@> | ||
2 | PidFile @web_run_root@/run/sitecing.pid | ||
3 | RestartCommand "exec sh @web_run_root@/bin/run" | ||
4 | User @sitecing_user@ | ||
5 | </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 @@ | |||
1 | FastCgiExternalServer @web_run_root@/fastcgi-bin/site-c-ing -socket @web_run_root@/run/sitecing-socket | ||
2 | <VirtualHost *:80> | ||
3 | ServerName @v_hostname@ | ||
4 | DocumentRoot @web_src_root@/htdocs | ||
5 | <Directory @web_src_root@/htdocs> | ||
6 | AllowOverride All | ||
7 | allow from all | ||
8 | </Directory> | ||
9 | <DirectoryMatch /.svn/> | ||
10 | deny from all | ||
11 | </DirectoryMatch> | ||
12 | <Files .*> | ||
13 | deny from all | ||
14 | </Files> | ||
15 | <Files Makefile*> | ||
16 | deny from all | ||
17 | </Files> | ||
18 | CustomLog @web_run_root@/logs/access.log combined | ||
19 | ErrorLog @web_run_root@/logs/error.log | ||
20 | LogLevel error | ||
21 | Alias /fastcgi-bin/ @web_run_root@/fastcgi-bin/ | ||
22 | <Directory @web_run_root@/fastcgi-bin/> | ||
23 | allow from all | ||
24 | </Directory> | ||
25 | DefaultLanguage en | ||
26 | Action site-c-ing /fastcgi-bin/site-c-ing | ||
27 | AddHandler site-c-ing .chtml | ||
28 | DirectoryIndex index | ||
29 | </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 @@ | |||
1 | MultiProcess on | ||
2 | ListenSocket @web_run_root@/run/sitecing-socket | ||
3 | MinChildren 2 | ||
4 | MinSpareChildren 2 | ||
5 | MaxChildren 4 | ||
6 | MaxSpareChildren 4 | ||
7 | RequestsPerChild 64 | ||
8 | PidFile @web_run_root@/run/sitecing.pid | ||
9 | Daemonize on | ||
10 | |||
11 | RootSource @web_src_root@/htdocs/ | ||
12 | RootIntermediate @web_run_root@/cache/sitecing/intermediate/ | ||
13 | RootSO @web_run_root@/cache/sitecing/so/ | ||
14 | |||
15 | @config_sitecing@ | ||
16 | |||
17 | CPPFLAGS -I. -I@web_run_root@/include/ | ||
18 | |||
19 | ExceptionHandler @exception_handler@ | ||
20 | |||
21 | Build @build_on_demand@ | ||
22 | CPPDeps on | ||
23 | IntermediateDeps @sitecing_prefix@/share/sitecing/component.skel | ||
24 | |||
25 | AutoBuildFiles *.chtml | ||