mono - servicestack service on mod_mono / apache not found -


i have simple servicestack web service have working on macbook xsp. browser can view metadata page , service working.

i installed mono, mod_mono, xsp on fedora 14 box. can see mono_module loaded apache.

i copied myservice /var/www/html/myservice. using browser can not open metadata page xsp on mac , of course web service not accessible.

what needs change when going xsp apache/mod_mono?

servicestack used create restful web service accessible uris not files extensions. autoconfiguration of mod_mono added of mime types , file extensions not simple path (uri) web service.

solution: added these lines httpd.conf create virtual path , configure work mod_mono.

alias /info "/var/www/html/myservice" monoapplications "/info:/var/www/html/myservice" <location /info>     sethandler mono </location> 

now http://localhost:8080/metadata works fine.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -