Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: dadby on April 01, 2003, 04:25:04 PM
-
can anyoe tell me if creating a user should also create a webspace or them? some thing like http://yourdomain/~user
if not are there any contribs that do this?
-
No, by default there is no user webspace. I think there are contribs that handle this, but I've never had the need to mess with it--have you tried searching here?
-
found the following howto with link to download, does the trick, thanks.
http://nomad.homelinux.net/esmith/library/addons/webspace/web-space-how-to.txtdadby wrote:
>
> can anyoe tell me if creating a user should also create a
> webspace or them? some thing like http://yourdomain/~user
>
> if not are there any contribs that do this?
-
dadby wrote:
> http://nomad.homelinux.net/esmith/library/addons/webspace/web-space-how-to.txt
I also tryed this rpm on SME 5.5u3 but no luck... I got an 403 forbidden error.
I wrote to Damien Curtain to ask some help. If he answer me I´ll let you know.
What error do you get?
-
Read manuals. You are using this addon after you create users. You must change user rights and let WWW read access !!! Read manuals to the end ! Is all there.
Andrej
-
> Read manuals. You are using this addon after you create
> users. You must change user rights and let WWW read access
> !!! Read manuals to the end ! Is all there.
No I just put this addon BEFORE I create my ONLY user to test!
BUT it don´t work.
A few changes (I don´t know WHAT I do!) it´s working...
But the RPM still gives a " post install script error " or something very close to that!
I don´t think this could be NORMAL!
BTW: I HAVE read the ALL web page. Including about to put a index file with info on skel!
Thanks by your help anyway!
-
Just thought I would revive this post as I too am having the same issues. I have heard other success stories so that fact of the matter is that I am definately without a doubt doing something wrong or missing something out but, to the best of my knowledge I am following the how to word for word.
Can someone lend a hand please?
Cheers,
Arthur
-
I've been using the user web space contrib for a couple of years. Works fine on a 6.0.1 install with around 50 users. I modified mine so that every user does not have a public_html directory by default. I use a small script to manually create that directory and set permissions for select users who need to publish pages.
Have you tried the howto and rpm?
http://no.longer.valid/phpwiki/index.php/Mini%20How%20to%20for%20creating%20user%20web%20space
Kirk
-
Kirk,
Cheers for the reply first of all. I have seen that others are using it fine with no problems but have followed the howto to the best of my knowledge and it's still not working, still getting 403. Obviously missing something out somewhere along the line just can't figure out what.
Perhaps you can let me see your script and see how the permissions are actually set?
I am re-installing my server tonight so perhaps I can start again on a stock install.
Cheers again,
Arthur
-
Kirk,
Perhaps you can let me see your script and see how the permissions are actually set?
I've been using permissions like these:
chmod 755 /home/e-smith/files/users/$1
chown $1 /home/e-smith/files/users/$1/home/public_html
chgrp www /home/e-smith/files/users/$1/home/public_html
chmod g+rxs /home/e-smith/files/users/$1/home/public_html
User's files in their home directory must remain set to disallow access to others than the owner and group, (perhaps 750) and the users must remain both the owner and group of the files. I think these are the default settings anyway.
Hope this helps a bit. I remember having similar problems at first as well.
Kirk
-
Cool, thanks, I'll give it a try in the next few days and let you know how it goes.
Arthur