chhotii-alex / antigen-sensitivity

MIT License
0 stars 1 forks source link

might not run on consumer-grade Apache hosting service #36

Closed chhotii-alex closed 1 year ago

chhotii-alex commented 1 year ago

Frontend compiles to just plain ol' html, css, and JavaScript. However some of the JavaScript is in files with the newfangled .mjs file extension, which Apache out of the box does not know what to do with. Have to use a .htaccess file to tell Apache to put the correct Content-type header. However web hosting services run by the unsophisticated, catering to the unsophisticated, may not allow policy overrides in client-directory .htaccess files.

Might have to either spend hours on the phone with tech support, or find a different domain name and host somewhere where we have control. Or, might just work with the .htaccess file we supply. Requires experimentation.

chhotii-alex commented 1 year ago

Using the .htaccess file worked.