You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Scott Hughes <sc...@renshawauto.com> on 2007/03/30 17:00:55 UTC
[users@httpd] New Directory Issue
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] New Directory Issue
Posted by Scott Hughes <sc...@renshawauto.com>.
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@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
> 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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] New Directory Issue
Posted by Craig Dunigan <cd...@doit.wisc.edu>.
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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org