[pmwiki-users] OpenOffice.org file uploads
Jiri
mail at revida.sk
Sun Nov 12 12:26:03 CST 2006
Read http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin
where stays:
file extension
only files with approved extensions such as ".gif", ".jpeg",
".doc", etc. are allowed to be uploaded to the web server. This is
vitally important for server security, since the web server might
attempt to execute or specially process files with extensions like
".php", ".cgi", etc.
OO.org files are not so common yet so you have to list them in the local
config.
Best regards,
Jiri
Jiri napsal(a):
> There should be something like
> $UploadMaxSize = 100000;
>
> in the local config.
> The values are in kB
> I am not sure if there is a restriction to upload .gif, .png and .jpg
> only. So if you wish to upload other filetypes
> with different limits per filetype then add
>
> $UploadExtSize['odt'] = 200000;
> $UploadExtSize['ods'] = 200000;
> $UploadExtSize['odp'] = 200000;
>
> Probably the extension names are case sensitive - try it.
>
> Hope this helps,
>
> Jiri
>
> Algis Kabaila napsal(a):
>> Dear Patrick and Friends,
>>
...
>> OpenOffice.org, Firefox, Abiword and so on. Unfortunately, we can not upload
>> to our wiki any of the OpenOffice documents with the extensions odt, ods and
>> odp.
...
>>
>> OldAl.
More information about the pmwiki-users
mailing list