[Mono-list] Mod_Mono

Avery Bunker code_cyberwar@hotmail.com
Mon, 09 Aug 2004 14:26:06 -0400

Can any one please help me on setting up mod_mono. I have followed all the 
instructions that I could find on the web. I also followed the instructions 
in the Mono Developes Book. Still I have no success. I downloaded the latest 
Mono using Red-Carpet. I compiled mod_mono using CVS. I see that the 
libmod_mono.so is located in my Apache2 Modules Directory. I set up all the 
files and created a mod_mono.conf file with almost everysetting I could 
find. I pounded this out and that out trying to get this to work. This is 
What I have so far.

OS Suse 9.1
Web Server  Apache 2

Here is my mod-mono.conf file

MonoApplications "/mono:/usr/share/doc/xsp/test/"
#AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
#MonoExecutablePath "/usr/bin/mono"
#MonoServerPath "/usr/bin/mod-mono-server.exe"
#MonoApplicationsConfigFile "/etc/apache2/conf.d/mono.webapp"
#MonoUnixSocket /tmp/mod_mono_server

<Directory /usr/share/doc/xsp/test/>
	SetHandler mono
	<IfModule mod_dir.c>
		DirectoryIndex index.aspx
		Options All

	#<IfModule mod_deflate.c>
      	#	SetOutputFilter DEFLATE

    	#DirectoryIndex index.aspx
    	#Options -Indexes FollowSymLinks MultiViews
    	#AllowOverride All

    	#<IfModule mod_access.c>
      	#	Order allow,deny
     	#	 Allow from all


I have tried to run the mod_mono_server.exe and it runs suscesfully. But 
when I try to access the test page at first I got Directory denied. So I got 
that fixed buy changing my default-https.conf file allowing Options All. 
then I got service unavailable. After messing with the conf and a hundred 
forums looked through I got it up but the the Server statred to through 
exceptions and all my browser would say is Loading. Any help or a good set 
of instructions on how to set this up would be greatly appreciated. Thanks

IT2 (Sw/Aw) Bunker

Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963