1 |
It's also worth noting that I have *no* "/usr/htdocs" line in any of |
2 |
my configuration file(s). |
3 |
|
4 |
-james |
5 |
|
6 |
|
7 |
On Mon, Apr 4, 2011 at 11:22, James <jtp@×××××.com> wrote: |
8 |
> I'm a long-time Cherokee user that is switching to Apache due to a |
9 |
> nasty Cherokee bug that I can't seem to work around. |
10 |
> |
11 |
> I've configured Apache many times (albeit a long time ago), and can't |
12 |
> seem to figure out what's going on here. |
13 |
> |
14 |
> I have a simple PHP app running that lives in some directory, say |
15 |
> /stuff/web/app. |
16 |
> |
17 |
> I then have a vhost configuration that looks like this: |
18 |
> |
19 |
> <Directory "/stuff/web/app"> |
20 |
> Options Indexes FollowSymLinks |
21 |
> AllowOverride All |
22 |
> Order allow,deny |
23 |
> Allow from all |
24 |
> </Directory> |
25 |
> |
26 |
> The vhost looks like this: |
27 |
> |
28 |
> <VirtualHost app.server.com:80> |
29 |
> ServerName app.server.com |
30 |
> DocumentRoot "/stuff/web/app" |
31 |
> ErrorLog /var/log/apache2/app.error |
32 |
> </VirtualHost> |
33 |
> |
34 |
> When the server reboots, Apache refuses to serve me anything, giving |
35 |
> the following error: |
36 |
> |
37 |
> ==> error_log <== |
38 |
> [Mon Apr 04 07:17:59 2011] [error] [client 10.35.22.81] client denied |
39 |
> by server configuration: /usr/htdocs |
40 |
> |
41 |
> ==> access_log <== |
42 |
> 10.35.22.81 - - [04/Apr/2011:07:17:59 -0400] "\x16\x03\x01\x01\x98\x01" 403 273 |
43 |
> |
44 |
> I'm well aware of the default apache configuration (defined in |
45 |
> /etc/apache2/modules.d/00_default_settings.conf), and that the default |
46 |
> directory directive has a "Deny from all" default. |
47 |
> |
48 |
> However, if I *restart* my daemon with NO configuration changes after |
49 |
> seeing these errors, the page comes up beautifully. Also worth noting |
50 |
> is that rebooting the server again will put Apache back into a |
51 |
> "broken" state and only after restarting the daemon will things |
52 |
> function correctly. |
53 |
> |
54 |
> Thoughts on how to fix this would be much, MUCH appreciated. I am |
55 |
> running out of hair to pull out of my head. :) |
56 |
> |
57 |
> -james |
58 |
> |