Virtualhost has it's own userid and groupid

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-13-2005
Peter
 
Posts: n/a
Default Virtualhost has it's own userid and groupid

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?


  #2 (permalink)  
Old 06-13-2005
HansH
 
Posts: n/a
Default Re: Virtualhost has it's own userid and groupid

"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


  #3 (permalink)  
Old 06-14-2005
Peter van den Berg
 
Posts: n/a
Default Re: Virtualhost has it's own userid and groupid

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

  #4 (permalink)  
Old 06-14-2005
HansH
 
Posts: n/a
Default Re: Virtualhost has it's own userid and groupid

"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


  #5 (permalink)  
Old 06-14-2005
HansH
 
Posts: n/a
Default Re: Virtualhost has it's own userid and groupid

"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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0