[moin-user] Apache configuration trouble

Volker Wysk post at volker-wysk.de
Sat Jun 17 21:12:39 EDT 2017


Hi!

I'm new to Apache, and I want to configure it for MoinMoin. MoinMoin should 
reside under vwysk.now-ip.net/wiki. "vwysk.now-ip.net" is my dynamic IP 
adress. This means that no virtual server should be used, but a subdirectory 
on the server. The install instructions in INSTALL.html set up a dedicated, 
virtual server.

I've put this in /etc/apache2/conf-enabled/wiki.conf:

    ServerName vwysk.now-ip.net
    ScriptAlias /wiki "/usr/local/share/moin/server/moin.cgi"
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch

When I try to access vwysk.now-ip.net/wiki, or http://localhost/wiki, I get:
    "403 Forbidden. You don't have permission to access /wiki on this server."

I've tried different permissions and the owner www-data, of "/usr/local/share/
moin/server/moin.cgi" and its parent directories, but with no effect. 

I've also set the Loglevel to "debug", which produces this messages, which 
don't make much sense for me:

[Sat Jun 17 21:24:33.062439 2017] [ssl:info] [pid 3850] (70007)The timeout 
specified has expired: [client 127.0.0.1:36666] AH01991: SSL input filter read 
failed.
[Sat Jun 17 21:24:33.062637 2017] [ssl:debug] [pid 3850] 
ssl_engine_io.c(1016): [client 127.0.0.1:36666] AH02001: Connection closed to 
child 6 with standard shutdown (server vwysk.now-ip.net:443)
[Sat Jun 17 21:24:33.267440 2017] [ssl:info] [pid 3801] (70007)The timeout 
specified has expired: [client 127.0.0.1:36668] AH01991: SSL input filter read 
failed.
[Sat Jun 17 21:24:33.267578 2017] [ssl:debug] [pid 3801] 
ssl_engine_io.c(1016): [client 127.0.0.1:36668] AH02001: Connection closed to 
child 0 with standard shutdown (server vwysk.now-ip.net:443)
[Sat Jun 17 21:24:42.938542 2017] [ssl:info] [pid 3804] [client 
127.0.0.1:36670] AH01964: Connection to child 3 established (server vwysk.now-
ip.net:443)
[Sat Jun 17 21:24:42.939011 2017] [ssl:debug] [pid 3804] 
ssl_engine_kernel.c(2103): [client 127.0.0.1:36670] AH02044: No matching SSL 
virtual host for servername localhost found (using default/first virtual host)
[Sat Jun 17 21:24:43.111938 2017] [ssl:debug] [pid 3804] 
ssl_engine_kernel.c(2023): [client 127.0.0.1:36670] AH02041: Protocol: 
TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Sat Jun 17 21:24:43.112052 2017] [ssl:debug] [pid 3804] 
ssl_engine_kernel.c(354): [client 127.0.0.1:36670] AH02034: Initial (No.1) 
HTTPS request received for child 3 (server vwysk.now-ip.net:443)
[Sat Jun 17 21:24:43.113123 2017] [authz_core:debug] [pid 3804] 
mod_authz_core.c(809): [client 127.0.0.1:36670] AH01626: authorization result 
of Require all granted: granted
[Sat Jun 17 21:24:43.113139 2017] [authz_core:debug] [pid 3804] 
mod_authz_core.c(809): [client 127.0.0.1:36670] AH01626: authorization result 
of <RequireAny>: granted
[Sat Jun 17 21:24:43.113417 2017] [authz_core:debug] [pid 3804] 
mod_authz_core.c(809): [client 127.0.0.1:36670] AH01626: authorization result 
of Require all granted: granted
[Sat Jun 17 21:24:43.113432 2017] [authz_core:debug] [pid 3804] 
mod_authz_core.c(809): [client 127.0.0.1:36670] AH01626: authorization result 
of <RequireAny>: granted
[Sat Jun 17 21:24:48.186489 2017] [ssl:info] [pid 3804] (70007)The timeout 
specified has expired: [client 127.0.0.1:36670] AH01991: SSL input filter read 
failed.
[Sat Jun 17 21:24:48.186728 2017] [ssl:debug] [pid 3804] 
ssl_engine_io.c(1016): [client 127.0.0.1:36670] AH02001: Connection closed to 
child 3 with standard shutdown (server vwysk.now-ip.net:443)

So how does Apache determine which page you are allowed to access? 

Bye
Volker



More information about the moin-user mailing list