httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Stumped: Apache Permissions, What's Wrong?
Date Mon, 02 Dec 2013 19:59:57 GMT
On Mon, Dec 2, 2013 at 2:46 PM, Kevin Smith
<theonlytalkinggoat@gmail.com> wrote:
> I modified it to look like this, but I've tried this, before to no effect
> and it still has no effect, now.
>
> <VirtualHost 192.168.15.4:80>
> DocumentRoot /var/www/phreebooks
> ServerName billing.website.com
> <Directory "/var/www/phreebooks">
> Order Allow,Deny
> Allow From All
> Require Allow All
> </Directory>
> </VirtualHost>
>

The access control syntax is wrong. Follow the example for your
default DocumentRoot.

It's quite possible you're not hitting this virtual host at all.
Putting a custom access log in there is a good way to tell, as is
lookin at apachectl -S.


> Log file /var/log/apache2/error.log
>
> [Mon Dec 02 13:30:11 2013] [notice] Apache/2.2.20 (Ubuntu)
> PHP/5.3.6-13ubuntu3.1 with Suhosin-Patch configured -- resuming normal
> operations
> [Mon Dec 02 13:30:15 2013] [error] [client 192.168.15.49] client denied by
> server configuration: /var/www/phreebooks/install/test.php

This means selinux and fileystem permissions are n/a.  See



> [Mon Dec 02 13:44:02 2013] [crit] [client 192.168.15.4] configuration error:
> couldn't perform authentication. AuthType not set!: /

probably due to the recent changes, better to make them look like the
<Directory> for your original/default DocumentRoot.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message