aboutsummaryrefslogtreecommitdiffstats
path: root/modules/catdap/templates/catdap_vhost.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/catdap/templates/catdap_vhost.conf')
-rw-r--r--modules/catdap/templates/catdap_vhost.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/catdap/templates/catdap_vhost.conf b/modules/catdap/templates/catdap_vhost.conf
new file mode 100644
index 00000000..6569e164
--- /dev/null
+++ b/modules/catdap/templates/catdap_vhost.conf
@@ -0,0 +1,15 @@
+<VirtualHost *:80>
+ ServerName identity.<%= domain %>
+ # Serve static content directly
+ DocumentRoot <%= catdap_location %>/root
+ Alias /static <%= catdap_location %>/root/static
+
+ Alias / <%= catdap_location %>/script/catdap_fastcgi.pl/
+
+ <Directory <%= catdap_location %>/script>
+ Options +ExecCGI
+ SetHandler fcgid-script
+ Allow from all
+ </Directory>
+</VirtualHost>
+