Doh! Give Users a Page, thrid try

1 post / 0 new
#1 Sun, 04/05/2009 - 09:12
mrwilder

Doh! Give Users a Page, thrid try

I want to give users of my virtual domains a web page.

I created my test user's folder in the "homes" directory of a virtual domain. I also created a "public_html" folder and added an index file therein. Thus, the path to that user's default web page is physically:

/home/virtualdomainname/homes/username/public_html/index.php

I edited httpd.conf thusly:

IfModule mod_userdir.c UserDir public_html /IfModule

Using webmin, I "Apply Changes" and "Stop Apache" and "Start Apache".

Then, I pointed a browser at http://virtualdomain.com/~username

I got a 404 error. I suspect Apache is not looking where I want it to look for the user's public_html file, which is in the user's publicy accessible ftp folder.

How do I implement this correctly?

Thanks, Tony