[96210] in RedHat Linux List
Re: user webspace
daemon@ATHENA.MIT.EDU (linux@lafayettehigh.org)
Sun Oct 25 12:16:32 1998
From: linux@lafayettehigh.org
To: redhat-list@redhat.com
Date: Sun, 25 Oct 1998 12:25:46 -0500
Reply-to: linux@lafayettehigh.org
In-reply-to: <98102517155200.00322@greenea-home>
Resent-From: redhat-list@redhat.com
> On Sun, 25 Oct 1998, linux@lafayettehigh.org wrote:
> >
> > I have my users' webspace setup by default like:
> >www.lafayettehigh.org/~username.
> >
> >How would I make them like:
> >home.lafayettehigh.org/username
> >and keep the pages on the same server. Note that I would also
> >like to remove the ~ from the address.
> >
> >Any suggestions?
>
> Let the users continue to store files in their home directories. You could
> do:
>
> ln -s /home/username/public_html /home/httpd/html/username
>
> for each user. If you make this a standard, you could put it in a script
> named 'linkhtmldir':
>
> #!/bin/bash
> ln -s /home/$1/public_html /home/httpd/html/$1
>
> and call it like this:
>
> linkhtmldir agreene
is there any way to do this so that the user homepages cannot be
accessed from www.lafayettehigh.org?
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.