set upload size to 100M, added rewrite for attachments