Re: Redhat user folder
| From: | Brian Clark | Date: | Tue, 21 Nov 2000 23:43:17 +0000 |
| Subject: | Re: Redhat user folder | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26546@lists.php.net to get a copy of this message | ||
Hello Mike,
(MT == "Mike Tuller") mitull01@willy.wsc.edu writes:
MT> Can anyone tell me what the web address for a user is on RedHat? I can't
MT> find it anywhere on Redhat's site or in documentation. ie:
MT> www.myserver.com/~mtuller/ or something like that.
I hope you know whether or not you have Apache installed.
Nevertheless.. if not, you'll need to install Apache. Then:
locate your httpd.conf and look for lines similar to:
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received. "disabled" turns this feature
UserDir public_html
Then it's a simple matter of
$ cd ~username
$ mkdir public_html
$ echo "boo" > public_html/index.html
And firing it up in a browser to see if it works (Ie. no Forbidden
error).
If not, check your httpd.conf
-Brian
--
A society that will trade a little liberty for a little order
will lose both, and deserve neither. --Thomas Jefferson