From cbbf6d6a96c82c84e5613e08935e9161f88991d6 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Fri, 8 Jan 2021 13:54:12 +0300 Subject: 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. --- gn/services/gn1-httpd-config.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gn/services') 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 DocumentRoot "genenetwork1 "/web/webqtl + Alias /images "genenetwork1 "/web/images/ + Alias /javascript "genenetwork1 "/web/javascript/ + Alias /css "genenetwork1 "/web/css/ + + AllowOverride None + Order allow,deny + Allow from all + + + AllowOverride None + Order allow,deny + Allow from all + + + AllowOverride None + Order allow,deny + Allow from all + PythonOption session FileSession -- cgit v1.2.3