Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185866 - www-apache/mod_mono demo 403 error
Summary: www-apache/mod_mono demo 403 error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-19 13:41 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2007-07-26 14:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mod_mono-access.patch (mod_mono-access.patch,389 bytes, text/plain)
2007-07-19 13:42 UTC, Christoph Brill (egore) (RESIGNED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Brill (egore) (RESIGNED) 2007-07-19 13:41:49 UTC
I installed mod_mono on an apache 2.2. The 70_mod_mono.conf allows to add -D MONO_DEMO to the APACHE2_OPTS and run the demo. But the default apache 2.2 configuration disallows access to files out of /var/www/localhost/htdocs.

Therefore the 70_mod_mono.conf file needs the following 2 lines:

Order allow,deny
Allow from all

in the <Directory /usr/lib/xsp/test> section.

Reproducible: Always
Comment 1 Christoph Brill (egore) (RESIGNED) 2007-07-19 13:42:25 UTC
Created attachment 125331 [details]
mod_mono-access.patch

Trivial patch to fix that issue.
Comment 2 Jurek Bartuszek (RETIRED) gentoo-dev 2007-07-26 14:17:41 UTC
But it's already there, take a closer look:

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

                        <IfModule mod_access.c>
                                Order allow,deny
                                Allow from all
                        </IfModule>
                        <IfModule mod_dir.c>
                                # Sample ASP.NET 1.1/2.0 applications can be accessed
                                # via index2.aspx.
                                DirectoryIndex index.aspx
                                #DirectoryIndex index2.aspx
                        </IfModule>
                </Directory>