Re: How do I set up personal web sites for users?

2008-05-17 Thread folays
Marten Rizwan [EMAIL PROTECTED] writes: If your users are in /home and you're not willing to modify your filesystem layout much, you could simply export your /home as readonly nfs share and mount it to /var/www/users. something like that should work in /etc/exports: /home

Re: How do I set up personal web sites for users?

2008-05-07 Thread Jonathan Armani
Hi, This is the solution I use : mkdir /var/www/users/myuser/ chown myuser:myuser /var/www/users/myuser cd /home/myuser and create a symbolic link www - /var/www/users/myuser I wish it help. Ed Flecko wrote: Hi folks, I have a few questions about how to set up users on my OBSD 4.3 box.

Re: How do I set up personal web sites for users?

2008-05-07 Thread Lars Noodén
Ed Flecko wrote: I've created a user (Stephanie) on the box, and I've added her to the /etc/ftpchroot file so she can upload stuff to her directory... 1.) Can someone tell me what I'm doing wrong? How about trying sftp or scp to avoid sending login information in the clear? There are even

Re: How do I set up personal web sites for users?

2008-05-07 Thread Stuart Henderson
On 2008-05-06, Ed Flecko [EMAIL PROTECTED] wrote: I've created a user (Stephanie) on the box, and I've added her to the /etc/ftpchroot file so she can upload stuff to her directory; now I just want her to be able to reach whatever she uploads (which probably will be just a bunch of files) via

Re: How do I set up personal web sites for users?

2008-05-07 Thread Stephano Zanzin
If you are using the OpenBSD's apache with a default configuration: Firstly, open httpd.conf, then modify UserDir disabled to UserDir /var/www/users. Then, uncomment following lines: 410 Directory /users/* 411 AllowOverride FileInfo AuthConfig Limit 412 Options MultiViews

Re: How do I set up personal web sites for users?

2008-05-07 Thread Marten Rizwan
If your users are in /home and you're not willing to modify your filesystem layout much, you could simply export your /home as readonly nfs share and mount it to /var/www/users. something like that should work in /etc/exports: /home -alldirs,ro 127.0.0.1 $ mount_nfs -o rw

How do I set up personal web sites for users?

2008-05-06 Thread Ed Flecko
Hi folks, I have a few questions about how to set up users on my OBSD 4.3 box. I've created a user (Stephanie) on the box, and I've added her to the /etc/ftpchroot file so she can upload stuff to her directory; now I just want her to be able to reach whatever she uploads (which probably will be

Re: How do I set up personal web sites for users?

2008-05-06 Thread L. V. Lammert
On Tue, 6 May 2008, Ed Flecko wrote: Hi folks, I have a few questions about how to set up users on my OBSD 4.3 box. I've created a user (Stephanie) on the box, and I've added her to the /etc/ftpchroot file so she can upload stuff to her directory; now I just want her to be able to reach

Re: How do I set up personal web sites for users?

2008-05-06 Thread visc
Hi folks, I have a few questions about how to set up users on my OBSD 4.3 box. I've created a user (Stephanie) on the box, and I've added her to the /etc/ftpchroot file so she can upload stuff to her directory; now I just want her to be able to reach whatever she uploads (which probably

Re: How do I set up personal web sites for users?

2008-05-06 Thread Adam Patterson
Ed Flecko wrote: Hi folks, I have a few questions about how to set up users on my OBSD 4.3 box. I've created a user (Stephanie) on the box, and I've added her to the /etc/ftpchroot file so she can upload stuff to her directory; now I just want her to be able to reach whatever she uploads (which

Re: How do I set up personal web sites for users?

2008-05-06 Thread visc
On Tue, 6 May 2008, Ed Flecko wrote: Hi folks, I have a few questions about how to set up users on my OBSD 4.3 box. I've created a user (Stephanie) on the box, and I've added her to the /etc/ftpchroot file so she can upload stuff to her directory; now I just want her to be able to reach