I wasn't sure if I had to post on other forum. But here I go.
I have a site running Drupal 4.7 that is installed on the root location for Apache docs so everytime that I type http://mysite, the Drupal site loads.
I made a test making a directory inside docs directory and when I type: http://mysite/directory, the page on that directory loads correctly.
However I want to give access to many users on my server with SSH so that they can have a home/user directory with their files and with their website page (public_html dir). So I enabled on httpd.conf the directive UserDir. Something like this:
LoadModule userdir_module modules/mod_userdir.so
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
</IfModule>
<Directory /home/*/public_html>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine on
</IfModule>
This is not working. Everytime I try http://mysite/~user I receive a message of
Forbidden
You don't have permission to access /~user on this server.
The user is created, also their public_html directory and of course a test page inside. I also restart the apache service. I didn't forget to "chgrp -R apache /home/user/public_html" and chmod 755.
I undestand that UserDir is working since I don't get the 'Not Found' page from Drupal. So what I'm doing wrong? What's missing?
Sorry for asking Apache and linux stuff, but maybe it has something to do with Drupal, so I take my chances.
Thanks!