[Mono-list] Mono +PHP Help
Robert Jordan
robertj at gmx.net
Mon Aug 14 09:02:01 EDT 2006
Hey,
jobo5432 wrote:
> 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
> </Location>
Use AddHandler instead of SetHandler:
<Location />
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
</Location>
Robert
More information about the Mono-list
mailing list