Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

edgy
Wednesday, April 25th, 2007 at 10:27:43am UTC 

  1. cat /etc/apache2/mods-enabled/mod_mono.conf
  2. AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
  3. DirectoryIndex index.aspx
  4.  
  5. # Include the web application definitions generated by
  6. # mono-server-update.conf. If you want to use XSP2, reverse the
  7. # comments.
  8. #Include /etc/mono-server/mono-server-hosts.conf
  9. Include /etc/mono-server2/mono-server2-hosts.conf
  10.  
  11.  
  12. $ cat /etc/mono-server2/mono-server2-hosts.conf
  13. # Default configuration, don't edit it!
  14. <IfModule mod_mono.c>
  15.   MonoUnixSocket /tmp/.mod_mono_server2
  16.   MonoServerPath /usr/lib/xsp/2.0/mod-mono-server2.exe
  17.   AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
  18.   MonoApplicationsConfigDir /etc/mono-server2
  19.   MonoPath /usr/lib/mono/2.0:/usr/lib:/usr/lib/mono/2.0
  20. # start /etc/mono-server2/conf.d/asp.net2-examples/10_asp.net2-examples
  21.      Alias /samples "/usr/share/asp.net2-demos"
  22.      AddMonoApplications default "/samples:/usr/share/asp.net2-demos"
  23.        <Directory /usr/share/asp.net2-demos>
  24.          SetHandler mono
  25.            <IfModule mod_dir.c>
  26.               DirectoryIndex index.aspx
  27.            </IfModule>
  28.        </Directory>
  29. # end /etc/mono-server2/conf.d/asp.net2-examples/10_asp.net2-examples
  30. </IfModule>

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right worth-right