Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Alexander Wallace on June 27, 2001, 10:25:09 PM

Title: www.mydomain/~myusername
Post by: Alexander Wallace on June 27, 2001, 10:25:09 PM
Hi there! is it possible to have each username have they're own web site
inside they're home directory and be able to access it like:

www.mydomain/~myusername

or does it have to use ibays?

Thanks!
Title: Re: www.mydomain/~myusername
Post by: beno on June 29, 2001, 02:27:35 PM
All users have webspace setup automatically.

http://username@mydomain.com

type it like that.

in think

http://www.domain.com/username also works
Title: Re: www.mydomain/~myusername
Post by: Alexander Wallace on June 29, 2001, 05:45:12 PM
Well, unless I'm doing something wrong, the first suggestion takes me to the main web site of my domain, I think all it does is telling the server who the user watching the site is.... If I use that, all usernames@mydomain.com go to the same (the main) site...

And the second option wokrs for Ibays... But not for usernames.... unless you create subdirecories in the main site with those names...

What I was talking about is more like a public html folder inside of each user's home directory in which the can put they're web pages...

Thanks!
Title: Re: www.mydomain/~myusername
Post by: Jim Johnson on June 30, 2001, 11:25:54 PM
In order to get WEB pages to work for my account on my server I had to do the following:

cd /home/e-smith/files/primary/html
mkdir username
cd username

Then I added a quick INDEX.HTM in that directory.

I loaded up Internet Exploiter and type in:

http://www.mydomain.com/username

The quick page I just created was there without any problem. The other method you mentioned to get the WEB page did not work (username.mydomain.com).

Hope that helps.

Jim
Title: Re: www.mydomain/~myusername
Post by: Tom Carroll on July 02, 2001, 03:04:27 AM
I'm not an experienced linux user or that familiar with e-smith, but couldn't you create a shared or aliased (not sure of the name) directory that would essentially be the the users html folder in their home directory being shared out or aliased?

For example:

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

aliased/shared as

/home/e-smith/files/primary/html/username

This would be the route I would take.  I'm pretty sure it can be done, but again I'm not that familiar with linux.  If it would work like this, you could modify the create new user script to create these directories automatically.

Tom