[Mono-list] mod_mono configuration (was Re: How to use WCF service)

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Fri Jun 11 02:04:39 EDT 2010


I have never used mod_mono, so I cannot answer to your further Q unless 
it is WCF question.

svc files should work as expected if you use xsp instead.

Atsushi Eno

On 2010/06/11 1:20, Andrus wrote:
> 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" 
> <atsushieno at veritas-vos-liberabit.com>
> To: "Andrus" <kobruleht2 at hot.ee>
> Cc: <Mono-list at lists.ximian.com>
> 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  -  Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>
>>>
>>>
>>
> Andrus Moor
> OÜ Eetasoft
> Akadeemia 21-G302
> Tallinn 12618
> www.eetasoft.ee
> tel. 6654214,  6654215
>
>
>



More information about the Mono-list mailing list