Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2000 21:59:57 -0800
From:      "David Fuchs" <beastie@beastie.net>
To:        <questions@FreeBSD.org>
Subject:   Re: help with apache, and public_html directory
Message-ID:  <002401bf6567$137f2600$0201a8c0@uniserve.com>
References:  <MPBBLJLABKFCLAHJNBNGMEJLHMAA.smokey@adl.ussr.net> <001c01bf6566$b0909c40$0201a8c0@uniserve.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Clarification:

--snip--
I use "chmod 711" to set permissions so that users can snoop in each other's
directories.
--snip--

I meant "can't"... not "can"... :)

-David Fuchs

----- Original Message -----
From: David Fuchs <beastie@beastie.net>
To: Freebsd Questions <questions@FreeBSD.ORG>
Sent: Saturday, January 22, 2000 9:57 PM
Subject: Re: help with apache, and public_html directory


> In your httpd.conf file, you should see something like this:
>
> ---------
> # UserDir: The name of the directory which is appended onto a user's home
> # directory if a ~user request is received.
> #
> UserDir public_html
> ---------
>
> If you want to allow users to have their own pages, just have them create
> the directory "public_html" in their home directory.  To view the content
on
> the net, simply have them open a browser and set their address to
> http://your.domain-or-ip.here/~username .   Make sure you use the ~ symbol
> in before the username, or it won't work.
>
> You can change the UserDir setting in httpd.conf to whatever you want, and
> then have your users create a subdirectory by that name in their home
> directory.  You will get forbidden messages and the like if you don't have
> an index.html file in the directory or if the permissions are wrong,
> rights/permissions MUST be executable (not necessarily readable) by all.
> Example "chmod 755" will work, but so will "chmod 711".  I use "chmod 711"
> to set permissions so that users can snoop in each other's directories.
> (Please don't argue about this people... I know some of you are probably
> gettin' that warm and fuzzy "I think what you're doing is WRONG" feeling
> already...)  hahaha  j/k =)
>
> Any more questions?  Need more clarification?  Send me a note and I'll get
> back to you.
>
> -David Fuchs
>
>
> ----- Original Message -----
> From: James <smokey@adl.ussr.net>
> To: Freebsd Questions <questions@FreeBSD.ORG>
> Sent: Saturday, January 22, 2000 9:17 PM
> Subject: help with apache, and public_html directory
>
>
> > Howdy,
> >
> > I'm new to bsd, and have just muddled through the installation of apache
> on
> > my machine here at home (its a 2.2.6 build, mostly set up by a friend),
> and
> > I would like to enable friends to view web pages on my machine - but I
> have
> > no idea how to set the directories so that they can be viewed....
> >
> > Can someone tell me how to do this? - what are the default permissions
to
> > allow something to be viewed? - do I need a . file of some sort so that
> > people can browse it or something? :-)
> >
> > Every attempt I've had so far has come across some form of 'you do not
> have
> > permission' message.....
> >
> > Any and all help would be gratefully recieved :-)
> >
> > regards
> >
> > james
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002401bf6567$137f2600$0201a8c0>