kakao
1-16-05, 10:02 AM
I'm setting a mediawiki site up.
I enabled the upload of images and it works Ok.
Now I want to follow the security advice from http://meta.wikimedia.org/wiki/Documentation:Security#Securing_the_upload_directo ry
I did place this in an .htacces file in the images directory:
php_admin_flag engine off
AddType text/plain .html .htm .shtml .php
It gives an internal server error. I suppose it is because Powweb runs the cgi php instead of the module.
Any advices?
I enabled the upload of images and it works Ok.
Now I want to follow the security advice from http://meta.wikimedia.org/wiki/Documentation:Security#Securing_the_upload_directo ry
I did place this in an .htacces file in the images directory:
php_admin_flag engine off
AddType text/plain .html .htm .shtml .php
It gives an internal server error. I suppose it is because Powweb runs the cgi php instead of the module.
Any advices?