Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtual Directories

Status
Not open for further replies.
Feb 1, 2001
116
US
I've setup a OpenSUSE 10.1 box as a file/web server in our home. I've got all the shares setup using everyones /home/ directories and the Apache server is working fine.

I would like to create a directory in each users Home as /home/user/ the create a virtual redirector to each persons directory so they can create web pages inside their own home directory.

I placed the following in the /etc/apache2/default-server.conf file:

Alias /user/ "/home/user/
<Directory "/home/user/ Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

When I point my browser to I get an error 403, Access Forbidden.

Any thoughts?
 
Ok, I got the problem solved and I'm not real sure what happened, but it's working. Maybe it was a bad combination of user permissions, I'm not sure but it's working great.

I didn't have to setup a VirtualHosts, actually that stopped it from working so I turned it off.

Yes on mod_userdir and there was a change I had to make in there to allow usersdir usage and that is probably what fixed it. I still had some problems after words, but after making some chmod changes to the /home/user/public_html directory, things are working great.

Thanks everyone. I figure a little UNIX Server in the house will help the kids get thier hands a little dirty on something besides the Windows "click and go".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top