Re: [expert] apache and imap configuration
ok, I figured it out, I needed to chmod 0755 the user directory also Jean-Michel Dault wrote: > The Apache is set up to serve personal web pages in: > /home/user/public_html > > I do not suggest a ".www" directory, since many ftp clients do not list > directories with a dot before them. > > Just create the public_html directory in each of your user's file, then > chmod it to 0755 so it's world readable. > > Or, better, if you want to create this directory automagically each time > you add a new user, add the directory in /etc/skel. > > Jean-Michel Dault > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > On Tue, 8 Feb 2000, Timothy Litwiller wrote: > > > Date: Tue, 08 Feb 2000 09:51:10 -0600 > > From: Timothy Litwiller <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: expert <[EMAIL PROTECTED]> > > Subject: [expert] apache and imap configuration > > > > How do I change the configuration so that users can post web pages? > > > > for example I would like to put a .www directory in each users directory > > > > /home/user/.www > > > > How do I make apache see these directories, do I have to add each one to > > the httpd.conf files or is there some way that it will work > > automatically. > > > > My ISP does something like this but doesn't seem to want to answer > > questions about how to setup something similar. to get to a users web > > page on my isp we have a url like this. www.myisp.com/~user and when > > ftping files in we have to make sure they get in the .www directory for > > them to be seen. > > > > Any suggestions are welcome. > > Thanks. > >
Re: [expert] apache and imap configuration
ok I did that, for user pablo in directory /home/pablo I made a directory public_html I did a chmod 0755 public_html I just get a denied message So I did a chown nobody and a chgrp nobody on the directory same thing then I did the same on the /home/pablo directory and it works, but then since pablo isn't the owner of his own directory his ftp doesn't work correctly. so what is the next step. Jean-Michel Dault wrote: > The Apache is set up to serve personal web pages in: > /home/user/public_html > > I do not suggest a ".www" directory, since many ftp clients do not list > directories with a dot before them. > > Just create the public_html directory in each of your user's file, then > chmod it to 0755 so it's world readable. > > Or, better, if you want to create this directory automagically each time > you add a new user, add the directory in /etc/skel. > > Jean-Michel Dault > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > On Tue, 8 Feb 2000, Timothy Litwiller wrote: > > > Date: Tue, 08 Feb 2000 09:51:10 -0600 > > From: Timothy Litwiller <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: expert <[EMAIL PROTECTED]> > > Subject: [expert] apache and imap configuration > > > > How do I change the configuration so that users can post web pages? > > > > for example I would like to put a .www directory in each users directory > > > > /home/user/.www > > > > How do I make apache see these directories, do I have to add each one to > > the httpd.conf files or is there some way that it will work > > automatically. > > > > My ISP does something like this but doesn't seem to want to answer > > questions about how to setup something similar. to get to a users web > > page on my isp we have a url like this. www.myisp.com/~user and when > > ftping files in we have to make sure they get in the .www directory for > > them to be seen. > > > > Any suggestions are welcome. > > Thanks. > >
RE: [expert] apache and imap configuration
> :~>/home/user/.www > :~> > :~>How do I make apache see these directories, do I have to > add each one to > :~>the httpd.conf files or is there some way that it will work > :~>automatically. > > How about making a link from /home/user/.www to /user? If you meant create user web directories straightly in the directory, so that when I type http://yoursite/user/, I get the right user page, yes it will works, no problem. But you will experience administrative problems. You'll have to create as much /user directories as the number of user you want to allow to have a personal page. After creating the directories, you'll have to make the directories belong to the right user (or make them all belong to a special account on which users have no rights, but then you'll have to hire someone to check and do the changes the users want to do on their personal pages, a kind of Big Brother saying what is good and what is wrong, what can be made public and what is to go to trash can...). You'll have then to allow the user to get to his web directory. Here is the difficult part : the user account can be located on another server than the web server (as it is most often the case). So you'll have to allow the users to go on the web server to update their pages (except for the Big Brother case). This means .rhosts files, NFS and so on... Your web server won't be very secure then... You can do it, but it is a lot of work for doing in another way something that Apache does automatically. As answered Tim Howell in a previous message, >Your system is probably already set up to do this, but with the public_html >directory. Look for the UserDir directive in your httpd.conf file, and >modify it according to your needs. Don't forget to restart Apache after >you've made your changes. > ># UserDir: The name of the directory which is appended onto a user's home ># directory if a ~user request is recieved. > >UserDir public_html >^^^Change this to .www and don't forget to give read rights to the user under which Apache is running Look for the following lines in httpd.conf: User nobody Group nobody You'll then access the page with http://yoursite/~user/ If your user account is located on another server, you surely have already made his home exportable via NFS, don't you? If you have an automounter on the web server, then you have no work to do. Mathieu
Re: [expert] apache and imap configuration
:~>for example I would like to put a .www directory in each users directory :~> :~>/home/user/.www :~> :~>How do I make apache see these directories, do I have to add each one to :~>the httpd.conf files or is there some way that it will work :~>automatically. How about making a link from /home/user/.www to /user? D.
Re: [expert] apache and imap configuration
On Tue, 8 Feb 2000, Timothy Litwiller wrote: > How do I change the configuration so that users can post web pages? > > for example I would like to put a .www directory in each users directory > > /home/user/.www Use /home/user/public_html and make sure it's readable by nobody (or whatever user runs inside apache). You'll get your my.domain.com/~user pages this way. -- Vincent Danen, ICQ: 54924721 . telnet://bbs.freezer-burn.org BBBS/LiI . Internet Rex for Linux Beta . Freezer Burn BBS Linux Information and other Goodies at Freezer Burn: www.freezer-burn.org
Re: [expert] apache and imap configuration
On Tue, Feb 08, 2000 at 09:51:10AM -0600, Timothy Litwiller wrote: -> How do I change the configuration so that users can post web pages? -> -> for example I would like to put a .www directory in each users directory -> -> /home/user/.www -> -> How do I make apache see these directories, do I have to add each one to -> the httpd.conf files or is there some way that it will work -> automatically. -> -> My ISP does something like this but doesn't seem to want to answer -> questions about how to setup something similar. to get to a users web -> page on my isp we have a url like this. www.myisp.com/~user and when -> ftping files in we have to make sure they get in the .www directory for -> them to be seen. -> -> Any suggestions are welcome. -> Thanks. You did not specify the disty you are using. On 6.1, I have found I had to adjust permissions on the path to the user's web directory. Unfortunately, I have forgotten which directory I changed, and how. Also, the default setup provides "public_html", which Apache is set to use. I don't see any reason to make it a hidden directory (which is the effect of the leading period in the file name). -- -- C^2 No windows were crashed in the making of this email. Looking for fine software and/or web pages? http://w3.trib.com/~ccurley
Re: [expert] apache and imap configuration
The Apache is set up to serve personal web pages in: /home/user/public_html I do not suggest a ".www" directory, since many ftp clients do not list directories with a dot before them. Just create the public_html directory in each of your user's file, then chmod it to 0755 so it's world readable. Or, better, if you want to create this directory automagically each time you add a new user, add the directory in /etc/skel. Jean-Michel Dault [EMAIL PROTECTED] [EMAIL PROTECTED] On Tue, 8 Feb 2000, Timothy Litwiller wrote: > Date: Tue, 08 Feb 2000 09:51:10 -0600 > From: Timothy Litwiller <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: expert <[EMAIL PROTECTED]> > Subject: [expert] apache and imap configuration > > How do I change the configuration so that users can post web pages? > > for example I would like to put a .www directory in each users directory > > /home/user/.www > > How do I make apache see these directories, do I have to add each one to > the httpd.conf files or is there some way that it will work > automatically. > > My ISP does something like this but doesn't seem to want to answer > questions about how to setup something similar. to get to a users web > page on my isp we have a url like this. www.myisp.com/~user and when > ftping files in we have to make sure they get in the .www directory for > them to be seen. > > Any suggestions are welcome. > Thanks. >
RE: [expert] apache and imap configuration
Your system is probably already set up to do this, but with the public_html directory. Look for the UserDir directive in your httpd.conf file, and modify it according to your needs. Don't forget to restart Apache after you've made your changes. # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is recieved. UserDir public_html ^^^Change this to .www Tim > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Timothy Litwiller > Sent: February 8, 2000 8:51 AM > To: expert > Subject: [expert] apache and imap configuration > > > How do I change the configuration so that users can post web pages? > > for example I would like to put a .www directory in each users directory > > /home/user/.www > > How do I make apache see these directories, do I have to add each one to > the httpd.conf files or is there some way that it will work > automatically. > > My ISP does something like this but doesn't seem to want to answer > questions about how to setup something similar. to get to a users web > page on my isp we have a url like this. www.myisp.com/~user and when > ftping files in we have to make sure they get in the .www directory for > them to be seen. > > Any suggestions are welcome. > Thanks. > >
[expert] apache and imap configuration
How do I change the configuration so that users can post web pages? for example I would like to put a .www directory in each users directory /home/user/.www How do I make apache see these directories, do I have to add each one to the httpd.conf files or is there some way that it will work automatically. My ISP does something like this but doesn't seem to want to answer questions about how to setup something similar. to get to a users web page on my isp we have a url like this. www.myisp.com/~user and when ftping files in we have to make sure they get in the .www directory for them to be seen. Any suggestions are welcome. Thanks.