Re: New Directory Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux