synergywei
IS-IT--Management
I'm working with media wiki images and I got a red x where the picture should be and the option 'save picture as' is greyed out. I don't think it's the group policy issue and all folders and subfolder within images has been set with permission 777.
someone has suggested to me it maybe a problem with how apache is handing the image files. I have no experience with apache, please take a look at the related section in the httpd.conf file. those are the snippet of code with the keyword 'addhandler'. what do i need to do for apache to handle image files? many thanks.
***********************************************
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi
#
# For files that include their own HTTP headers:
#
#AddHandler send-as-is asis
#
# For type maps (negotiated resources):
# (This is enabled by default to allow the Apache "It Worked" page
# to be distributed in multiple languages.)
#
AddHandler type-map var
Alias /error/ "/var/
<IfModule mod_negotiation.c>
<IfModule mod_include.c>
<Directory "/var/ AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>
someone has suggested to me it maybe a problem with how apache is handing the image files. I have no experience with apache, please take a look at the related section in the httpd.conf file. those are the snippet of code with the keyword 'addhandler'. what do i need to do for apache to handle image files? many thanks.
***********************************************
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi
#
# For files that include their own HTTP headers:
#
#AddHandler send-as-is asis
#
# For type maps (negotiated resources):
# (This is enabled by default to allow the Apache "It Worked" page
# to be distributed in multiple languages.)
#
AddHandler type-map var
Alias /error/ "/var/
<IfModule mod_negotiation.c>
<IfModule mod_include.c>
<Directory "/var/ AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>