Koozali.org: home of the SME Server

User Web Pages

Bradster

User Web Pages
« on: March 08, 2004, 04:12:33 AM »
Warning Newbie Question.

How do I make user pages available with web browser?
When I navigate to http://www.mydomain.com/~username I get "You are not autorized to view this page" error.

Any ideas how to make this work?

Thanks in advance!
Brad

Anonymous

User Web Pages
« Reply #1 on: March 08, 2004, 04:50:32 AM »

Bradster

User Web Pages
« Reply #2 on: March 08, 2004, 06:35:26 AM »
I haven't seen /user-manager before and it doesn't seem to work either.

Here's what I'm trying to do...
I have a small ISP, my users would like the ability to have personal web sites.  I would like to find a contrib or howto that shows how to enable their home directory as default document root. This way I can enable ftp access and the users can copy their website to their home directory.

With most distributions, you can access personal web pages by navigating to: http://www.yourdomain.com/~username - when I try to access the personal web page I get the following error...
You are not authorized to view this page
HTTP Error 403 - Forbidden

Why don't I get this error?
The page cannot be displayed


Has anybody tried this?

mthomas

User Web Pages
« Reply #3 on: March 08, 2004, 11:02:03 AM »
there is a contrib around here some where that will do what you want. it's called "user web space", i think. i looked but couldn't find it here on contribs.org. it also works on 6.0. see:
http://theswamp.org/~mark/

Offline gasparraposo

  • *
  • 16
  • +0/-0
    • http://www.gasjen.com
User Web Pages
« Reply #4 on: March 08, 2004, 11:36:29 AM »
You have a very good point. i tried to see what i am getting when i try to access the personal home directory and i get the same

" you are not authorized to view this page"

Well i would like to know if there is a way around this?
...

cc_skavenger

User webspace / ftp access
« Reply #5 on: March 08, 2004, 06:08:32 PM »
You need two things, the user space contrib and chroot for ftp.  Chroot for ftp confines a user to a specified ftp directory.  The user space contrib allows you to create the user space you specified, http://www.mydowmain.com/~user_name.  You can get the userspace contrib here:

http://ccskavenger.lc-usa.net/SME(E-SMITH)/contribs/userwebspace/

And the chroot for ftp here:

http://ccskavenger.lc-usa.net/SME(E-SMITH)/contribs/5.6/chrootforftp/

The chroot contrib works in 6.0, just ignore the errors.  Don't forget to setup quotas for your users, or they will use up your hard drive.  Also, since you are an ISP, make sure that you have some kind of contract that exonerates you from any legal matters that may arise from copyrighted material being hosted on your server (ie. mp3s, movies, and the like).  

As stated by everyone else, I am not responsible for what you do with your server, test all software on another machine before you install on your production server.  That being said, have fun and good luck.

RonM

User Web Pages
« Reply #6 on: March 08, 2004, 09:38:43 PM »
Thanks.

This has come up before, so I added the infor to the Howto classification here http://no.longer.valid/phpwiki/index.php/Users

cc_skavenger

Howto
« Reply #7 on: March 08, 2004, 11:51:30 PM »
Good Idea RonM

Bradster

User Web Space
« Reply #8 on: March 09, 2004, 05:54:54 AM »
Seems to be working correctly for the most part except the user page http://www.domain.com/~username can only be displayed from within the local network. I get a page cannot be displayed from other networks.

https://www.domain.com/~username will load the page correctly.

Is there a work-around for this?

My configuration:
SME 6.0
Single network card (server-only)
Use router port forwarding to private IP address

cc_skavenger

User Web Space
« Reply #9 on: March 09, 2004, 04:43:30 PM »
Bradster,

Have you tried putting the wan IP address of the router into the local access panel in the server manager?  

just a thought

Bradster

User Web Pages
« Reply #10 on: March 09, 2004, 10:46:52 PM »
Doesn't seem to work.

Have any other Ideas?
Are there any conf files I could look at?

Anonymous

User Web Pages
« Reply #11 on: March 10, 2004, 10:37:35 AM »
hey guys can you please check the links again to download the rpms?

Thanks.

cc_skavenger

links
« Reply #12 on: March 11, 2004, 05:24:40 AM »
sorry, my server decided it was time to take a vacation and I am in the process of restoring the data back onto it :(

It should be back up on 3-11-04, will be working on it at work.

cc_skavenger

Links Working Again
« Reply #13 on: March 11, 2004, 06:16:59 AM »
I have the links working again, sorry for the trouble.

Turtle

Chroot
« Reply #14 on: March 12, 2004, 11:37:24 PM »