Koozali.org: home of the SME Server

User web site

Tom

User web site
« on: May 02, 2002, 07:27:47 PM »
Can e-smith be configured so each use can have a web site? I tried making an html folder in the user directory but get a 404 error when accessing http://server/username

Thanks for any info on this.
Tom

Urirama

Re: User web site
« Reply #1 on: May 02, 2002, 10:38:18 PM »
Yes; give them all their own ibay.

Devlyn Davis

Re: User web site
« Reply #2 on: May 02, 2002, 11:14:45 PM »
Urirama wrote:
>
> Yes; give them all their own ibay.

However, I don't think you can create an ibay with the same name as a user account, can you?  

This might work...

Create the html directory in the user home directory.  Make sure to give www at least read/execute rights to that directory.

Create an alias that points to the directory you created.   You would create this alias by creating a custom template.

#-------------------------------------------
# Personal html Page
#-------------------------------------------

Alias /username /home/e-smith/files/users/username/home/html

    AddType application/x-httpd-php .php .php3 .phtml
    Options Indexes +Includes FollowSymLinks
    order deny,allow
    deny from all
    allow from all



I'm not sure if theres an easy way to automate that process for each user, but there might be.

-Dev

stephen noble

Re: User web site
« Reply #3 on: May 03, 2002, 07:32:25 PM »
>I'm not sure if theres an easy way to automate that process for each user,
>but there might be.

i can automate it but i can't get it to work

i can get the server to find the file, home/html/index.html
but i'm then forbidden
does www need to be able to have read access to html all the way from root
it didn't help, and wouldn't that be insecure

also if the user makes files and subdirectories www will not be able to see them ?
ie rwxrwx--- stephen stephen

do we need to use a different method
ie using the public_html line in httpd.conf + other changes

regards
stephen