[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie problems getting pages delivered via Apache
- To: misc@openbsd.org
- Subject: Re: Newbie problems getting pages delivered via Apache
- From: Lukasz Sztachanski <szati@rudy.mif.pg.gda.pl>
- Date: Mon, 1 Nov 2004 18:16:51 +0100
- Content-Disposition: inline
- Mail-Followup-To: misc@openbsd.org
- References: <000101c4bd1e$ca706a90$1802a8c0@delldesktop>
- User-Agent: Mutt/1.4.1i
Dnia Thu, Oct 28, 2004 at 01:48:55PM -0500, D. Martin napisal(a):
> Hello,
>
> Apache is up and running on my box and accessible via IP.
>
> I have edited/set UserDir in /var/www/conf/httpd.conf:
>
> UserDir public_html
>
> But am unable as yet to access
>
> http://111.111.11.1/~jerrygarciuh/index.html
>
> I also tried UserDir enabled and UserDir enabled jerrygarciuh per the
> manual.
>
> We don't have any plans to host live sites on this box but I do want to
> play here.
>
> What do I need to do to get user folders available via http?
>
hello
fastest way :> :
1. set good permissions for user's home directory and public_html
2. create `home' directory in chroot
3. mount_null /home /var/www/home
4. chage in httpd.conf UserDir to /var/www/home/*/public_html
imho it's the best way to handle homepages. Mount_null provide also
readonly mounting, and users don't have to end with their
` ~/public_html habits' .
good luck :)
--
Lukasz Sztachanski
szati<at>rudy.mif.pg.gda.pl
http://szati.mif.one.pl