Page MenuHomePhabricator

noc.wikimedia.org sends non-php config files with mime type of application/octet-stream instead of text/plain
Closed, ResolvedPublic

Description

For example: http://noc.wikimedia.org/conf/en2.conf (this is true for all the apache config files listed, and really any file with a non-php suffix)

expected mime type: text/plain
mime type received: application/octent-stream

this triggers the download box in firefox, which is kind of ugly.


Version: unspecified
Severity: enhancement

Details

Reference
bz25873

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:16 PM
bzimport set Reference to bz25873.
bzimport added a subscriber: Unknown Object (MLST).

Default mime type was set to octet stream on fenari. Commented that out and restarted apache. Is fixed now. If you have a file cached, it'll still show as octet stream for a while.