Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache Roller 4.0 - Beginner's Guide

You're reading from   Apache Roller 4.0 - Beginner's Guide A comprehensive, step-by-step guide on how to set up, customize, and market your blog using Apache Roller

Arrow left icon
Product type Paperback
Published in Dec 2009
Publisher Packt
ISBN-13 9781847199508
Length 388 pages
Edition 1st Edition
Concepts
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Apache Roller 4.0
Credits
Foreword
About the Author
About the Reviewers
1. Preface
1. An Introduction to Weblogs FREE CHAPTER 2. Installing Roller on Windows 3. Installing Roller on Linux 4. How to Start Working with Roller 5. Spicing Up Your Blog 6. Roller Themes and Blog Promotion 7. Working with Templates 8. Comments and Trackbacks Pop Quiz Answers
Index

Time for action — modifying the struts.multipart.maxSize property


The struts.properties file is inside Roller's WEB-INF/classes folder. If you are using Windows, you can just open and edit the file; but if you're using Linux, remember you need to have "root" privileges to modify this file.

  1. Go to Roller's WEB-INF/classes folder and open the struts.properties file. Add the following line at the end of this file:

    struts.multipart.maxSize=104857600.
    
    
  2. The following screenshot shows the struts.properties file with the struts.multipart.maxSize property, in a Linux Ubuntu environment:

  3. Save your changes and close the file. You'll need to logout from Roller and restart Tomcat to apply the new size limit.

What just happened?

Now you can upload videos or files up to 100 MB in size. However, don't forget the Max File Size limit in the File Upload Settings section. This setting only allows a maximum size of 8 MB for each uploaded file. Just remember that the setting with the smallest value will determine...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image