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!

--
Craig Dunigan
IS Technical Services Specialist
Middleware - EIS - DoIT
University of Wisconsin, Madison

opinions expressed are my own, not the University's

---------------------------------------------------------------------
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