[Mono-list] mono ignoring App_Code folder?

Joel Gwynn joelman at gmail.com
Fri Jul 13 09:45:16 EDT 2007


On 7/9/07, Mike Morano <mmorano at mikeandwan.us> wrote:
> Without seeing the content of your .conf file, it's hard to tell.  You
> need to have a line similar to the following in your configuration:
>
> MonoServerPath "/usr/local/bin/mod-mono-server2"
>

Here's my configuration.  Looks fine to me.  AmazonBundle is the app
I'm trying to run.

Thanks again for your help.

# Default configuration, don't edit it!
<IfModule mod_mono.c>
  MonoUnixSocket /tmp/.mod_mono_server2
  MonoServerPath /usr/lib/xsp/2.0/mod-mono-server2.exe
  AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
  MonoApplicationsConfigDir /etc/mono-server2
  MonoPath /usr/lib/mono/2.0:/usr/lib:/usr/lib/mono/2.0
# start /etc/mono-server2/conf.d/asp.net2-examples/10_asp.net2-examples
  Alias /samples "/usr/share/asp.net2-demos"
  Alias /AmazonBundle "/mnt/seagate0/projects/amazon/bundle"
  AddMonoApplications default
"/samples:/usr/share/asp.net2-demos,/ApacheBundle:/mnt/seagate0/projects/amazon/bundle"

       <Directory /usr/share/asp.net2-demos>
         SetHandler mono
           <IfModule mod_dir.c>
              DirectoryIndex index.aspx
           </IfModule>
       </Directory>
    <Directory /mnt/seagate0/projects/amazon/bundle>
	SetHandler mono
    Allow from all
</Directory>

# end /etc/mono-server2/conf.d/asp.net2-examples/10_asp.net2-examples
</IfModule>


More information about the Mono-list mailing list