Hi,
I have a web server set up on my Mac, and I'm using it to develop some web software in PHP. One of the requirements it has is the ability to detect the MIME type of files on the system.
When it attempts to detect the MIME Type of '.js' files, it's coming up with 'text/x-c++', as opposed to 'text/javascript' or similar.
I thought this might be an apache problem, but running 'file -bI' on the command line brings the same result.
Any one know how I can correct this? I think that Xcode may have caused the initial problem, but that's an outright guess.
I have a web server set up on my Mac, and I'm using it to develop some web software in PHP. One of the requirements it has is the ability to detect the MIME type of files on the system.
When it attempts to detect the MIME Type of '.js' files, it's coming up with 'text/x-c++', as opposed to 'text/javascript' or similar.
I thought this might be an apache problem, but running 'file -bI' on the command line brings the same result.
Any one know how I can correct this? I think that Xcode may have caused the initial problem, but that's an outright guess.