Hi, for an assignment I have to set the MIME type based on the file extension. In my particular case it means to add these lines to .htaccess:
and so on. I'm just wondering if I really need to do that. The question is, how can I know if the default httpd.conf for my Static/CGI/PHP-5.3 application already has these settings? I tried to Hope I have been clear enough, thanks. asked 25 Oct '11, 03:25 Guandalino |
Hi, If you are using the shared Apache server (for example, with a Static/CGI/PHP app), you have no access to the configuration files (httpd.conf / mime.types). This is actually defined in the mime.types configuration file. The default MIME types that are defined for these extensions are:
You can redefine them in a .htaccess file. answered 25 Oct '11, 03:32 todork Not even read only access?
(25 Oct '11, 03:37)
Guandalino
Actually, yes, you do have read-only access. However, I'd ask you to open a ticket if you need this information, as I'm hesitant to post it publicly.
(25 Oct '11, 03:40)
todork
|