Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2010 13:10:52 -0600
From:      Programmer In Training <pit@joseph-a-nagy-jr.us>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   User Directories On FreeBSD 8.0-RELEASE
Message-ID:  <4B7D90BC.10901@joseph-a-nagy-jr.us>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD1AC35FC86FA67D359A4A63C
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I am using the non-ports version of Apache. I downloaded 2.2.14 from
http://httpd.apache.org/download.cgi#apache22 just a little while ago. I
compiled, installed, got it running with minimal fuss. The issue is with
my user directories (e.g. $HOME/public_html ). I uncommented the line to
include the userdir conf file in the main configuration and started
apache. I get the "It Works" from 127.0.0.1 (this is purely for local
testing). When I go to 127.0.0.1/~username/ I get 403 Forbidden. I've
adjusted some of the settings in the userdir conf (instead of it
pointing to /home/*/public_html as is the default I switched it to
/usr/home/*/public_html) and I still get the same message. I returned
the userdir.conf file to it's default settings (except for the path to
user dirs) with no luck. Included below is the default setup that was
installed with Apache (I enabled the settings to install the local
manual and that pulls up just fine, nothing in it points to a solution
to this issue) for the userdir conf file.

<Directory "/usr/home/*/public_html">
    AllowOverride FileInfo AuthConfig Limit Indexes
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS>
        Order allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS>
        Order deny,allow
        Deny from all
    </LimitExcept>
</Directory>


Am I just having a case of the stupids here? It has been a few years
since I've managed Apache even for local testing. I've also adjusted the
permissions for that directory with no change. Also, the log files show
Apache going to /home/*/public_html instead of /usr/home/*/public_html,
basically ignoring the settings I gave it.

I've posted to the Apache mailing list with absolutely no help (and the
claim that I changed the location of $HOME)
--=20
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.




--------------enigD1AC35FC86FA67D359A4A63C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iQEcBAEBAgAGBQJLfZDDAAoJEENZQ8DH7rW0cRwH/AsabkYwHd6jSM6RaCS3l2cf
ZKZhlwmizCU/NapiECNVXaMCfmQpkjWlXi2tcBK8Q/inhZ1w4cvm1yDLB67JUm/H
9Ww7T5Bm3dWMw5aOQEiQvufyEfvJQ4nOXq8MZkDy4qXbgbVcRVCExhKWPWrxs2Wv
OQ823PXXR1gZtNbrgxq9ePrLc6hBa5aOILb6ocknKDu0xuzGZcHnKhPIj8TXmLq0
GT+dMVFX0YjEfvOczjLoBs5xTfk/uzw08XZhMEXWAjmqJ+O3m8mtnpxSdNq7YviX
7wfj+Oqu2jlJcAiFrmuKKjgbL3adeeH4lKZFVZ7ucHU6BCuvafaDaXxCAxB/FL8=
=pi4M
-----END PGP SIGNATURE-----

--------------enigD1AC35FC86FA67D359A4A63C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B7D90BC.10901>