Ok I got apache working correctly but i would like users to be able to create web sites in their home directory and be accessed like this http://64.192.99.49/~brandon right now that doesn't work even though its got html files under it, wonder why? Brandon Caudle -------------- 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux) Larkhaven Golf Course Charlotte, NC "There cannot be a crisis next week. My schedule is already full." -- Henry Kissinger
On Monday 13 August 2001 15:31, Brandon Caudle wrote:
Ok I got apache working correctly but i would like users to be able to create web sites in their home directory and be accessed like this
http://64.192.99.49/~brandon right now that doesn't work even though its got html files under it, wonder why?
Brandon Caudle -------------- 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux) Larkhaven Golf Course Charlotte, NC
"There cannot be a crisis next week. My schedule is already full." -- Henry Kissinger
I think that you will have to set things up using several different virtual servers. I know this is something that Apache handles well, but I personally have no experience with it, since the website that I run is extremely simple. I will do some research on this, and try and get back to you in a few days. If you figure it out in the meantime, please let us all know what you did. Kevin
On Mon, Aug 13, 2001 at 06:31:02PM -0400, Brandon Caudle wrote:
Ok I got apache working correctly but i would like users to be able to create web sites in their home directory and be accessed like this
http://64.192.99.49/~brandon right now that doesn't work even though its got html files under it, wonder why?
For this thing to work user nobody (apache runs under this user) has to have read access to /home/brandon/public_html directory which is not set up by default. -Kastus
Brandon Caudle
You also need to install a special module that understands ~name path. You can also specify aliases to emulate that behaviour for a *finite* number of users. _____ Alexey N. Solofnenko. <http://www.citechlabs.com/> Citech Inc. Pleasant Hill, CA (GMT-8 usually) -----Original Message----- From: Konstantin (Kastus) Shchuka [mailto:kastus@tsoft.com] Sent: Monday, August 13, 2001 6:18 PM To: suse-linux-e@suse.com Subject: Re: [SLE] Apache and Users Web On Mon, Aug 13, 2001 at 06:31:02PM -0400, Brandon Caudle wrote:
Ok I got apache working correctly but i would like users to be able to
create web sites in their home directory and be accessed like this
http://64.192.99.49/~brandon right now that doesn't work even though its got html files under it, wonder why?
For this thing to work user nobody (apache runs under this user) has to have read access to /home/brandon/public_html directory which is not set up by default. -Kastus
Hi, Try adding something like: <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory> to the relevanr part of httpd.conf then (as root) issue killall -HUP httpd. You may need to ensure that you have (I think) mod user-dir installed. On suse it was there by default. Regards Francesco
participants (5)
-
Alexey N. Solofnenko
-
Brandon Caudle
-
Francesco Scaglioni
-
Kevin Hochhalter
-
Konstantin (Kastus) Shchuka