READING

Tomcat 7 dosya upload limitini degistirme

Tomcat 7 dosya upload limitini degistirme

vim /usr/share/tomcat7-admin/manager/WEB-INF/web.xml

web.xml dosyasi icine asagidaki satirlar varsa degistirili yoksa eklenir.

<multipart-config>

<!– 50MB max –>
<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
</servlet>

degisiklikler yapildiktan sonra /etc/init.d/tomcat7 restart ile tomcat yeniden baslatilir.


Your email address will not be published. Required fields are marked *