[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-user
Subject: Re: [gentoo-user] Apache2 and php
From: ken () kenwstevens ! net
Date: 2004-04-27 21:11:36
Message-ID: 20040427221034.GA24930 () kenwstevens ! net
[Download RAW message or body]
Hi Daniel!
On Tue, 27 Apr 2004, Daniel Drake wrote:
> Yes. In /etc/apache2/conf/commonapache2.conf you should see a section like
> this:
>
> ###
> ### UserDir: The name of the directory which is appended onto a user's home
> ### directory if a ~user request is received.
> ###
> <IfModule mod_userdir.c>
> UserDir public_html
> </IfModule>
>
>
> Make sure its not commented out.
> Then create the public_html directory in your home directory.
> Then make sure that apache is able to progress to that directory:
>
> chmod a+x /home
> chmod a+x /home/youruser
> chmod a+x /home/youruser/public_html
>
> (there are probably more secure ways of doing this, but this should be
> alright on a closed network..)
>
> Then, a document placed at /home/youruser/public_html/index.php will be
> accessible through http://127.0.0.1/~youruser/index.php
> (note the ~)
>
> Daniel
Thank you very much. This did the trick. :-)
Ken
--
Oh wearisome condition of humanity!
Born under one law, to another bound.
-- Fulke Greville, Lord Brooke
www.kenwstevens.net
--
gentoo-user@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic