I did use the userdir directive. Now if I access the area like this: http://xxx.xxx.xxx.xxx/~username/usage/ it does display the content. If I try to use the more direct: http:www.domainname.com/usage I get the forbidden error again.

Thanks,

Scott


Craig Dunigan wrote:
On Fri, 30 Mar 2007, Scott Hughes wrote:

All,

Thanks in advance for any answer to this very newbie type of question.

I have a server running Apache v. 2.0.52 and using all virtual directories. The virtual directories are under the users home directory as such: /home/username/www

The issue that I having is that when a new directory is created by the user under the 'www' it gives a 403 Forbidden error.

The virtual directory directive is like this:

<VirtualHost *:80>
  ServerName www.xxxxxxxxx.cim
  DocumentRoot /home/username/www
  <Directory "/home/username/www">
      AllowOverride All
      Options All
  </Directory>
</VirtualHost>

Any help would be greatly appreciated!

Scott


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


It's very likely that the Apache user does not have permissions to the newly created directories. See:

http://httpd.apache.org/docs/2.2/faq/error.html#error.permissiondenied

and

http://httpd.apache.org/docs/2.0/howto/public_html.html, which details what you probably should be using instead of the scheme you now have.

Here's a hint in case you don't want to use UserDir: "man umask." Be careful, though, this can have unintended consequences!



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to