|
|
| Author |
Message |
< Yaws mailing list ~ directory specific uid for webdav? |
| Guest |
Posted: Sun Jan 07, 2007 4:00 am |
|
|
|
Guest
|
Hi all,
I run a small web hosting company, and I would like to offer DAV access for all of my users.
I know yaws supports DAV, but the trick is that I want the files uploaded for a particular
user to belong to that user, and not to the "nobody" user.
So... I think what I want is a separate yaws process for each user. But I do not want
these child processes to be running all the time. Instead, I would like them to be created
on the fly and then killed off after a few minutes of inactivity.
I suspect this is going to require some erlang-hacking on my end, but I'm really not sure
where to start. So I was hoping you guys could point me in the right direction.
First, does this sound like a reasonable solution. If so, how much work would something
like this be to implement?
I've seen erlang's open_port function, and I thought it might be usable for talking to the
child processes. But would that work well with yaws, or would it be better to do the
communication as an HTTP proxy, with each yaws server running on its own port?
Any help with this would be appreciated.
Thanks!
Michal Wallace
http://cornerhost.com/
Post recived from mailinglist |
|
|
| Back to top |
|
| tobbe |
Posted: Sun Jan 07, 2007 12:23 pm |
|
|
|
User
Joined: 19 Jan 2005
Posts: 274
Location: Stockholm, Sweden
|
Michal Wallace wrote:
> Hi all,
>
> I run a small web hosting company, and I would like to offer DAV access
> for all of my users.
>
> I know yaws supports DAV, but the trick is that I want the files
> uploaded for a particular
> user to belong to that user, and not to the "nobody" user.
I'm unsure about the status of the DAV code in Yaws.
Does it really work today ? I did som initial work on it
(or was it Sebastian ?) which then Martin (mbj) reworked.
Anyway, I think I remember that I and Martin talked about
having a port-program that could run as any specified user.
Don't think it was implemented though.
I don't think there should be that much work to get DAV
going properly, so it would be great if you (or someone else)
could get it up to production quality with docs and all.
Then, perhaps, I could finish my Davenport clone....
Cheers, Tobbe
>
> So... I think what I want is a separate yaws process for each user. But
> I do not want
> these child processes to be running all the time. Instead, I would like
> them to be created
> on the fly and then killed off after a few minutes of inactivity.
>
> I suspect this is going to require some erlang-hacking on my end, but
> I'm really not sure
> where to start. So I was hoping you guys could point me in the right
> direction.
>
> First, does this sound like a reasonable solution. If so, how much work
> would something
> like this be to implement?
>
> I've seen erlang's open_port function, and I thought it might be usable
> for talking to the
> child processes. But would that work well with yaws, or would it be
> better to do the
> communication as an HTTP proxy, with each yaws server running on its own
> port?
>
> Any help with this would be appreciated.
>
> Thanks!
>
> Michal Wallace
> http://cornerhost.com/ <http://cornerhost.com/>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|