You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by jschulz on 1 Jan 1970 00:19 UTC
Mungo currently defaults to serving all files as text/html. It should try to use any existing Apache (mod_mime) settings before finally falling back to text/html.
'''To reproduce''', add the following to httpd.conf
Reported by jschulz on 1 Jan 1970 00:19 UTC
Mungo currently defaults to serving all files as text/html. It should try to use any existing Apache (mod_mime) settings before finally falling back to text/html.
'''To reproduce''', add the following to httpd.conf
Now, all files with those extensions will be served as text/html, even JavaScript and CSS.
If a doctype of:
is added, the page will "break" because the CSS and JavaScript will not be recognized as the appropriate type of file.
The page will lack any CSS styling and any JavaScript will not function.
'''Remedy:'''
You can add the following to httpd.conf
but Mungo should respect (or at least try to obtain) those types already set in conf/mime.types.
If reading from conf/mime.types is too difficult/expensive, a single place (mungo.mime ?) to record all those associations would be appreciated.
The text was updated successfully, but these errors were encountered: