[Mono-aspnet-list] Handling php in the same asp.net web site/application

Miljenko Cvjetko mcvjetko at holisticware.net
Tue May 17 13:31:29 EDT 2011


Hi

On 2011.05.17 19:23, Daniel J. Summers wrote:
> On Mon, May 16, 2011 at 10:42 AM, moljac <mcvjetko at holisticware.net 
> <mailto:mcvjetko at holisticware.net>> wrote:
>
>     Is it possible and if yes, with wich server (it seems like
>     lighthttpd colud
>     do it) would be possible
>     to process asp.net <http://asp.net> (aspx, asmx, ashx etc) and php
>     in the same
>     application/site??
>     ...
>     Could it be made with apache 2.2 and how?
>
>
> It certainly should be possible with any number of web servers; you 
> can set the handler based on the file extension.  A good number of 
> Mono tutorials show setting Mono as THE handler for all pages.  You 
> could configure PHP to only handle the .php extension, then default 
> the rest to Mono.  For Apache2, look at the AddHandler and SetHandler 
> directives; with LigHTTPD and nginx, set the FastCGI configuration 
> based on file type.
>
> (Disclaimer: I haven't actually done this myself; this answer is based 
> on my knowledge of configuring LigHTTPD, nginx, and Apache.)
I was expecting answer like that, didn't have much time to try it out.
Googled tried apache with AddHandler and SetHandler, but could not get 
it to work...

We have 20 min teaser-presentation about MultiTargeting and 
Interoperability
on Microsoft  WebUG (User Group) here in Zagreb on Thursday and hoped that
we could show side by side asp.net and php...
It is nice-to-have, not must-have for presentation.

Thanks a lot
regards

mel

>
> -- 
> *Daniel J. Summers*
> *Owner, DJS Consulting*
> E-mail <mailto:daniel.summers.2415 at gmail.com> • Website 
> <http://djs-consulting.com> • Support 
> <http://support.djs-consulting.com> • Tech Blog 
> <http://techblog.djs-consulting.com>
>
> GEEKCODE 3.12 GCS/IT d s-:+ a C++ P--- L++ E--- W++ N++ o? K- w !O M--
> V PS+ PE++ Y? PGP- t+ 5? X+ R* tv b+ DI++ D+ G- e<++ h---- r+++ y++++
>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


-- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rješenja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: www.holisticware.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20110517/845b2e69/attachment.html 


More information about the Mono-aspnet-list mailing list