From 8c965015f3bacb43984da3917f56f5435bb1d2e6 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 6 Jun 2020 23:03:37 +0100 Subject: [PATCH] added static setup --- README.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.txt b/README.txt index c6a5c79..d1c7419 100644 --- a/README.txt +++ b/README.txt @@ -265,6 +265,12 @@ ScriptAlias /repositories /home/expo/config/apache/services/hgweb/hgweb.cgi (The last is just for mercurial which will be remoived during 2020). +These two are not necessary as Django will serve these (see urls.py), but +it may be very slightly faster for apache to serve them first: +Alias /expofiles /home/expo/expofiles +Alias /static/ /home/expo/static/ + + Unlike the "runserver" method, apache requires a restart before it will use any changed files: