Atsushi, I added
AddHandler mono .svc to end of /etc/apache2/mod_mono.conf file and restarted apache using /etc/init.d/apache2 restart I tried also line AddType application/x-asp-net .svc but .svc files are still opened as text in browser. How to fix ? Andrus. ----- Original Message ----- From: "Atsushi Eno" <[email protected]> To: "Andrus" <[email protected]> Cc: <[email protected]> Sent: Thursday, June 10, 2010 5:56 PM Subject: Re: [Mono-list] How to use WCF service > You'll have to have AddHandler for .svc extension along with the > configuration manner: > http://www.mono-project.com/Mod_mono#Manual_Mod_Mono_Configuration > > Atsushi Eno > >> Mono 2.6.3 packages are installed in Debian with mod_mono and web >> application in htdocs. ASMX web services work OK. >> >> Trying to invoke WCF web service by typing >> >> Myservice.svc to browser returns svc file contents. >> How to use svc web service ? >> >> Andrus. >> >> Mono JIT compiler version 2.6.3 (tarball Thu Mar 18 21:01:17 UTC 2010) >> Copyright (C) 2002-2010 Novell, Inc and Contributors. >> www.mono-project.com >> TLS: __thread >> GC: Included Boehm (with typed GC and Parallel Mark) >> SIGSEGV: altstack >> Notifications: epoll >> Architecture: amd64 >> Disabled: none >> >> _______________________________________________ >> Mono-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> >> >> > Andrus Moor OÜ Eetasoft Akadeemia 21-G302 Tallinn 12618 www.eetasoft.ee tel. 6654214, 6654215 _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
