2

Is it possible to use an apache server deploying my asp.net MVC webapp and using mysql database? Currently I'm testing my application using the integrated xsp webserver in my mono develop.

Please advise.

Many thanks.

7
  • 1
    I don't think you can host ASP.Net MVC in apache. However, you might want to port it to mono. You can use MySQL for ASP.Net MVC. Commented Jul 15, 2011 at 0:45
  • Thanks.What do you mean to port it to mono? Currently I'm developing my asp.net mvc webapp in linux using mono-develop. Commented Jul 15, 2011 at 0:48
  • You can read more about mono @ mono-project.com/Main_Page Basically is a ported version of .Net so that it's cross platform etc etc Commented Jul 15, 2011 at 0:52
  • I already setup all configuration, but when I access my app, it only shows the files in the directory. Commented Jul 15, 2011 at 1:01
  • 1
    Yes. Because apache doesn't know how to translate .aspx files. Commented Jul 15, 2011 at 1:06

1 Answer 1

3

In windows you can use mod_aspdotnet, see

https://serverfault.com/questions/132846/configuring-asp-net-mvc2-on-apache-2-2-using-mod-aspdotnet

In linux you can create web application config file using online tool in go-mono.com web site and put this file to apache config directory like /etc/httpd

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.