Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Philip on July 25, 2002, 09:09:42 AM
-
I am trying to figure out a good way to allow my users to ftp to their own area of the web site run out of /primary/html/.
I've tried linking to their ~user/html from /primary/html/ directory and added FollowSymLlinks to that directory in httpd.conf - no dice
I've tried linking the other way - from the user's home directory to the /primary/html but no dice since proftp won't follow the symbolilc link
I tried using an ibay but that was a misreable failure "access denied" by the browser.
In all three cases above I've tried numerous iterations of file permissions with no luck.
I really am frustrated - this should be easy - any suggestions?
-
I think you may be looking for something like this.....
http://forums.contribs.org/index.php?topic=4732.msg16496#msg16496
-
or try something like this
Mini How to for creating user web space
You want to allow your users to have public web space accessable by
http://www.your_domain/~user_name
Download http://khunjarnet.com/downloads/user-web-space/e-smith-user-webspace-0.1-3.noarch.rpm
(watch the line wrap)
# rpm -ivh e-smith-user-webspace-0.1-3.noarch.rpm
answer yes to the question
# mkdir /etc/e-smith/skel/user/home/public_html
# pico /etc/e-smith/events/actions/user-create-unix
find the line that says
chmod 0700, "/home/e-smith/files/users/$userName";
and change to
chmod 0755, "/home/e-smith/files/users/$userName";
^x to exit and save
You can put a default index.html in /etc/e-smith/skel/user/home/public_html
that will appear in the users webspace when the user is created
Note: this will only create user webspace for new users. Existing users
will need to be created by hand.
Jon