How to manage the ftp quota while user upload via http?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
mp5anthony
Forum Newbie
Posts: 1
Joined: Sun May 28, 2006 5:46 pm

How to manage the ftp quota while user upload via http?

Post by mp5anthony »

Dear all,
I am now planning to give a vitrual space to some people, say, 300MB web space for their website. But I found that some web program such as Gallery2 allow user to upload their images to the site via http interface, and the file uploaded is owned by "apache", and this will not consume the user's web space quota since the quota system only search for the files owned by himself, not apache. So how can I make sure the user won't use up the disk space more than they are allowed?

Thanks for help! :wink:

Best Regareds, Anthony
anthonyloi@gmail.com
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

You really want to be running apache as CGI with suexec so that files belong to the user themselves. FTP should do that too.
Post Reply