Is it possible to run asp on linux with Apache?
The production environment is now LAMP,
I don't know whether it's possible to serv开发者_如何学JAVAe asp requests on it.
Same as a previous question: The answer is a big "it depends".
Are you talking about Classic ASP?
Sun has (had?) a product out called "SunOne ASP" - though the product changed names so many times I couldn't say what it really is other than the original ChiliSoft ASP product bought and re-named by Sun.
Anyway, the aforementioned product would allow you to run ClassicASP/VBScript code on a *nix server, and for the most part would run it well. It was a little fussier about certain things, and there were certain things that didn't work quite right, but if you were hell-bent on doing it you could make it work. Having said all that, I think I read somewhere that the project was discontinued. So it may not be available anymore.
There's also an Apache:ASP module that (in my experience) only works with code written with it in mind. If you're trying to port an application from a Windows server, its one of those "split your risk" options.
Are you talking about ASP.NET?
If this is the case, you've got a better chance... the aforementioned Mono Project would be your best bet. Its come a long way since I last looked at it, but having not had to set anything up with it I really can't speak to how good/bad it is.
All things being equal...
All things being equal, I would really say that if you're going to use an MS programming language, run it on an MS server. It may cost a little extra, but it will probably save you more headaches in the long run.
It is.
- Classic ASP
- ASP.NET
Whether or not a specific ASP program will run is a different story.
Basically, yes - but YMMV on how well it supports your code.
Check out: http://www.apache-asp.org/
And also google for mod_aspnet, if you're using .Net.
Gotta say, it's pretty bad on your management to move your production environment to LAMP without checkking that your Code supports it!
精彩评论