This is a discussion on Virtualhost has it's own userid and groupid within the Apache Web Server forums, part of the Web Server and Related Forums category; I'm using quotas on my system For ftp and stuff it works perfectly, But the quotas can ben mislead ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm using quotas on my system For ftp and stuff it works perfectly,
But the quotas can ben mislead by uploading stuff via en webform. The uploaded data gets the user and groupid from apache. Is it possible to get this right per vhost? |
|
|||
|
"Peter" <peter@[nospam]vd-berg.net> schreef in bericht
news:tqqra1hq12avjh8vol6o4d75p3ch6h4i6s@4ax.com... > I'm using quotas on my system For ftp and stuff it works perfectly, > But the quotas can ben mislead by uploading stuff via en webform. The > uploaded data gets the user and groupid from apache. > > Is it possible to get this right per vhost? Yes, reading starts at http://httpd.apache.org/docs-2.0/suexec.html However, many script-languages will be able to change ownership of a file. I take it, that will shift quotas too. HansH |
|
|||
|
On Tue, 14 Jun 2005 00:49:21 +0200, "HansH" <hans@niet.op.het.net>
wrote: >"Peter" <peter@[nospam]vd-berg.net> schreef in bericht >news:tqqra1hq12avjh8vol6o4d75p3ch6h4i6s@4ax.com.. . >> I'm using quotas on my system For ftp and stuff it works perfectly, >> But the quotas can ben mislead by uploading stuff via en webform. The >> uploaded data gets the user and groupid from apache. >> >> Is it possible to get this right per vhost? >Yes, reading starts at >http://httpd.apache.org/docs-2.0/suexec.html > >However, many script-languages will be able to change ownership of a file. I >take it, that will shift quotas too. > >HansH > Does this somehow work with virtual users? If I use real users it works, but I have virtual ftp users so it would be nice to do this with apache users also. Peter |
|
|||
|
"Peter van den Berg" <peter@[nospam]vd-berg.net> schreef in bericht
news:pfrsa1l9gr469lnni7usucdprmh4jnj2m7@4ax.com... > On Tue, 14 Jun 2005 00:49:21 +0200, "HansH" <hans@niet.op.het.net> > wrote: > >"Peter" <peter@[nospam]vd-berg.net> schreef in bericht > >news:tqqra1hq12avjh8vol6o4d75p3ch6h4i6s@4ax.com.. . > >> I'm using quotas on my system For ftp and stuff it works perfectly, > >> But the quotas can ben mislead by uploading stuff via en webform. The > >> uploaded data gets the user and groupid from apache. > >> Is it possible to get this right per vhost? > >Yes, reading starts at > >http://httpd.apache.org/docs-2.0/suexec.html > >However, many script-languages will be able to change ownership of a file. I > >take it, that will shift quotas too. > Does this somehow work with virtual users? If I use real users it > works, but I have virtual ftp users so it would be nice to do this > with apache users also. I'm unfamilliar with 'virtual users' ... I take it their accounts are registered and maintained inside an application and unrelated pe /etc/users. IIRC quotas are assigned and accounted per user by the OS and the OS has its users listed in /etc/users. HansH |
|
|||
|
"Peter van den Berg" <peter@[nospam]vd-berg.net> schreef in bericht
news:pfrsa1l9gr469lnni7usucdprmh4jnj2m7@4ax.com... > On Tue, 14 Jun 2005 00:49:21 +0200, "HansH" <hans@niet.op.het.net> > wrote: > >"Peter" <peter@[nospam]vd-berg.net> schreef in bericht > >news:tqqra1hq12avjh8vol6o4d75p3ch6h4i6s@4ax.com.. . > >> I'm using quotas on my system For ftp and stuff it works perfectly, > >> But the quotas can ben mislead by uploading stuff via en webform. The > >> uploaded data gets the user and groupid from apache. > >> Is it possible to get this right per vhost? > >Yes, reading starts at > >http://httpd.apache.org/docs-2.0/suexec.html > >However, many script-languages will be able to change ownership of a file. I > >take it, that will shift quotas too. > Does this somehow work with virtual users? If I use real users it > works, but I have virtual ftp users so it would be nice to do this > with apache users also. I'm unfamilliar with 'virtual users' ... I take it their accounts are registered and maintained inside an application and unrelated pe /etc/users. IIRC quotas are assigned and accounted per user by the OS and the OS has its users listed in /etc/users. HansH |
| Thread Tools | |
| Display Modes | |
|
|