Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  27 Feb 2019, Konstantin Olchanski, Info, mhttpd magic urls 
    Reply  28 Feb 2019, Konstantin Olchanski, Info, resource file search path, mhttpd magic urls 
    Reply  05 Mar 2019, Konstantin Olchanski, Info, mhttpd magic urls 
       Reply  06 Mar 2019, Konstantin Olchanski, Info, mhttpd magic urls 
          Reply  21 Mar 2019, Konstantin Olchanski, Info, mhttpd magic urls 
Message ID: 1454     Entry time: 28 Feb 2019     In reply to: 1453
Author: Konstantin Olchanski 
Topic: Info 
Subject: resource file search path, mhttpd magic urls 
> url contains midas.js -> send_resource("midas.js")

mhttpd looks for resource files in these directories in this order:

(ODB /experiment/Resources)/filename ### this ODB entry is not created automatically (hidden)
./filename                       ### for testing custom files, start mhttpd in the directory with the test files
./resources/filename     ### ditto
$MIDAS_DIR/filename   ### per experiment custom files or overwrite of midas standard files
$MIDAS_DIR/resources/filename
$MIDASSYS/resources/filename ### standard midas resource files live here: midas.js, midas.css, etc

K.O.
ELOG V3.1.4-2e1708b5