These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Doh! Give Users a Page, thrid try on the new forum.
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