summaryrefslogtreecommitdiffabout
path: root/conf/httpd.conf.in
Side-by-side diff
Diffstat (limited to 'conf/httpd.conf.in') (more/less context) (show whitespace changes)
-rw-r--r--conf/httpd.conf.in29
1 files changed, 29 insertions, 0 deletions
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>