0

So i have a Linux based Server having webmin

And i made an web application having some css/js and a html and i put that folder in var/www/html/TestAPI

installed Apache Web server and every other module recommended

My question is ,how do i make this run as a service,like when i ping the HTML inside this folder it opens up but doesnt load any js/css

How do i execute this when i just open TestAPI eg:- http://11.11.11.11/TestAPI (Tried using index.html) I dont want to use php

Any Help would be deeply appreciated

6
  • If you're planning to use apache and linux, you can forget about asp.net-mvc. You should take a look at PHP, especially at routing. You can also look at the HTTP HEAD request. Commented Dec 10, 2016 at 11:10
  • so its not possible to deploy asp.net mvc on linux ?? Commented Dec 11, 2016 at 3:30
  • It is, as seen here, but for a service-based API system, I'd rather recommend PHP or, if you're expecting some load, JavaEE. Asp.NET is quite heavy for the task Commented Dec 11, 2016 at 9:42
  • Unfortunately i have an requirement from my client right now and they are against PHP :/ so ASP is not compatible at all or am i missing something ?? Commented Dec 12, 2016 at 7:31
  • I am just saying that you'll have a hard time using ASP for that task, and you'd rather go with a JavaEE architecture if PHP is unavailable. Commented Dec 12, 2016 at 18:03

0

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.