MIDAS Knowledge Base
Why is the layout wrong with elements missing/in the wrong place after installing the software?If the visual appearance and layout of your self hosted MIDAS room booking system looks wrong or has missing elements when accessed in your web browser, this may be due to incorrect server permissions.
If you've installed your MIDAS system within the "cgi-bin" (or equivalent) directory on your server, and your server has been configured to automatically "execute" as a CGI script any file contained within this directory, this could lead to missing visual elements or a corrupt layout when you try to access your MIDAS system in your web browser.
In such configurations, your server simply ignores the extension (i.e. .gif, .jpg, .html, .css, etc) of files in that particular server location, and instead assumes that all files, regardless of extension, should be "executed" as a script.
The solution is to modify your server's configuration to avoid this. For example, the "ScriptAlias" setting in the httpd.conf file under Apache instructs Apache to execute as CGI scripts any file in the defined location.
Therefore, if you've installed your self hosted MIDAS system to the server location specified under "ScriptAlias", consider either removing or changing this server variable to another location, or alternatively reinstall your MIDAS system outside of your default cgi directory, to another cgi-enabled location.
Details of how to enable CGI execution for other server locations outside of the cgi-bin (regardless of platform) may be found in Step 3 of our How to install & configure Apache on a Windows server article.
← Return to Knowledge Base