[moin-user] Apache configuration trouble

Volker Wysk post at volker-wysk.de
Sun Jun 18 06:23:59 EDT 2017


Hi!

Am Sonntag, 18. Juni 2017, 12:00:28 CEST schrieb Lars Kruse:
> Hi Volker,
> 
> 
> Am Sun, 18 Jun 2017 03:12:39 +0200
> 
> schrieb Volker Wysk <post at volker-wysk.de>:
> > [..]
> > 
> > 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.
> Did you make sure that you allowed apache to deliver files from that
> location?
> 
>  <Files usr/local/share/moin/server/moin.cgi>
>      Require all granted
>  </Files>

Ok, I've tried this, but with no success.


> Or maybe you want to share your complete apache configuration?

I've only added /etc/apache2/conf-{enabled,available}/wiki.conf.

Here's the (new) contents of the wiki.conf:

   Loglevel info

   ServerName vwysk.now-ip.net
   Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch

   ScriptAlias /wiki "/usr/local/share/moin/server/moin.cgi"

   <Files "/usr/local/share/moin/server/moin.cgi">
       Require all granted
   </Files>

Should I post the complete configuration?


When accessing localhost/wiki, I get in /var/log/apache2/access.log:
127.0.0.1 - - [18/Jun/2017:12:21:19 +0200] "GET /wiki HTTP/1.1" 403 505 "-" 
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0"

I wonder what that 505 means...



Bye
Volker



More information about the moin-user mailing list