Michael Daly wrote:
Well, part of my brain defrosted enough to figure this out:
If the thing is referenced as http, it's going to be served as http. I have the following by default in httpd.conf: AddHandler imap-file map
Is this "safe" to remove and use "text/plain map" in the mime.types file? I'm not sure what imap-file is used for. Will this force file() to read the file as text/plain?
Or should I convert the URL to local file system path? Is there a standard way of doing this? I.e. if the input is [[Media:file.ext]], how do I get the file path instead of the URL (assuming it is on the same server - as it is in my case)?
As you can probably guess, PHP is new to me.
Mike