Bug 205163 - www-apache/mod_mono-1.2.6: file 70_mod_mono.conf needs update for apache-2.2
Bug#: 205163 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: dotnet@gentoo.org Reported By: jean.regisser@gmail.com
Component: Ebuilds
URL: 
Summary: www-apache/mod_mono-1.2.6: file 70_mod_mono.conf needs update for apache-2.2
Keywords:  
Status Whiteboard: 
Opened: 2008-01-10 10:16 0000
Description:   Opened: 2008-01-10 10:16 0000
I've just switched to www-servers/apache-2.2.6-r7 and updated my conf files and
everything went fine.

Today I installed mod_mono and I wanted to test it. So I changed my apache2
config  file to define both MONO and MONO_DEMO as advertised by the ebuild's
end of installation information.

After restarting apache and going to the URL http://myserver/mono it said : 403
forbidden. I then checked my error log : "client denied by server
configuration: /usr/lib/xsp/test".

Looking at mod_mono configuration file "70_mod_mono.conf" I noticed that there
was :

<Directory /usr/lib/xsp/test>
 SetHandler mono
 MonoSetServerAlias testinst

 <IfModule mod_access.c>
  Order allow,deny
  Allow from all
 </IfModule>
 #other things not useful for this bur report
</Directory>

As "mod_access has been renamed mod_authz_host" with the new relase of apache (
seen in http://httpd.apache.org/docs/2.2/new_features_2_2.html) I think the
conf file should be updated (allowing the DEMO mode of mod_mono to work out of
the box)

Reproducible: Always

------- Comment #1 From Jurek Bartuszek 2008-01-11 20:42:12 0000 -------
Fixed in -r1, thanks!