[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default install w/apache - how to create local web access?



Turns out I had the httpd.conf info, but not the public_html, particularly
the permissions.  Once I chmod'd and tested, worked like a charm.

Thanks!

Now to figure out about the web redirect...

Scott

On Sun, 1 Sep 2003, Damien Solley wrote:

> On Mon, 2003-09-01 at 07:15, scott@ehrlichtronics.com wrote:
> > I have built a default debian box with apache, apache-ssl, and
> > squirrelmail.  I am creating accounts for family members who also want
> > web page creation capability, but none of the accounts have web-like
> > directories in their homedirs, like public_html or www.
> >
> > Apache, apache-ssl, and squirrelmail were installed via apt-get install.
> >
> > What change(s) do I need to make, and where, to permit local creation of
> > web pages?
> >
> > Thanks.
> >
> > Scott
> >
>
> Hi Scott,
> I enabled local web access by editing /etc/apache/httpd.conf
> You have to enable
>
> <IfModule mod_userdir.c>
>     UserDir public_html
> </IfModule>
>
> Then, if a user has:
> a) chmod 701 their home directory (chmod 701 /home/username) (this will
> not make their files world readable, thankfully).
> b) a public_html folder in their home directory (mkdir
> /home/username/public_html). This should be world readable (chmod 755
> public_html).
> c) files (esp index.html) in their public_html folder)
> then they can access the local pages are accessible at:
> http://127.0.0.1/~username/
>
> Damien
> --
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "An expert is one who knows more and more about less and
> less until he knows absolutely everything about nothing."
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: