aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorBonfaceKilz2021-01-08 13:54:12 +0300
committerGitea2021-01-12 14:09:34 -0600
commitcbbf6d6a96c82c84e5613e08935e9161f88991d6 (patch)
treec491e57c88e51751f5bf4d6d4b01ce20744eaeab /gn
parentc2eb5e18d684456ce62e6e530a0b3cce4b77b3b5 (diff)
downloadguix-bioinformatics-cbbf6d6a96c82c84e5613e08935e9161f88991d6.tar.gz
gn: services: gn1-httpd-config: Make apache display static content
Static content here is: images, javascript and CSS. * gn/services/gn1-httpd-config.scm (GNI-httpd-config): Add extra apache directive for showing images, javascript, and CSS.
Diffstat (limited to 'gn')
-rw-r--r--gn/services/gn1-httpd-config.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gn/services/gn1-httpd-config.scm b/gn/services/gn1-httpd-config.scm
index e62f027..48d49fc 100644
--- a/gn/services/gn1-httpd-config.scm
+++ b/gn/services/gn1-httpd-config.scm
@@ -86,6 +86,24 @@ PythonPath \"sys.path+['/run/current-system/profile/lib/python2.4', '/run/curren
NameVirtualHost *:8042
<VirtualHost *:8042>
DocumentRoot "genenetwork1 "/web/webqtl
+ Alias /images "genenetwork1 "/web/images/
+ Alias /javascript "genenetwork1 "/web/javascript/
+ Alias /css "genenetwork1 "/web/css/
+ <Directory "genenetwork1 "/web/images>
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
+ <Directory "genenetwork1 "/web/javascript>
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
+ <Directory "genenetwork1 "/web/css>
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
</VirtualHost>
<Directory " genenetwork1 "/web/webqtl>
PythonOption session FileSession