[Mono-list] Mono +PHP Help
robertj at gmx.net
Mon Aug 14 09:02:01 EDT 2006
> Ok, so I have two different servers, one is old and antiquated, and I'm
> trying to move the sites from this old server to my new server. The problem
> for me is, that all of my sites on the old server are written in PHP,
> whereas I have my new server configured to run Mono.
> What I don't know how to do here is configure the apache conf file to allow
> me to server certain sites as mono apps, and certain other apps as
> Apache/PHP sites.
> Has anyone ever tackled this, or know how to get this working? I am using
> the following for the mono sites:
> Alias / "/www/mydomain.com/htdocs"
> AddMonoApplications default "www.mydomain.com:/:/www/mydomain.com/htdocs"
> AddMonoApplications default "mydomain.com:/:/www/mydomain.com/htdocs"
> <Location />
> SetHandler mono
Use AddHandler instead of SetHandler:
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
More information about the Mono-list