Author Topic: Classic ASP on Linux  (Read 4471 times)

Offline Klinux

  • Sr. Member
  • ****
  • Posts: 287
    • RedmondXP.com
Classic ASP on Linux
« on: June 22, 2010, 03:04:44 PM »
How do I run classic asp websites in Linux? In windows you use IIS, but in linux? I have heard its possible with Apache, but how?

Thanks
Visit RedmondXP.com

Offline Klinux

  • Sr. Member
  • ****
  • Posts: 287
    • RedmondXP.com
Re: Classic ASP on Linux
« Reply #1 on: June 23, 2010, 05:24:19 AM »
mmm nobody for this?
Visit RedmondXP.com

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Classic ASP on Linux
« Reply #2 on: June 23, 2010, 05:40:08 AM »
Maybe your question isn't clear.

Offline Klinux

  • Sr. Member
  • ****
  • Posts: 287
    • RedmondXP.com
Re: Classic ASP on Linux
« Reply #3 on: June 23, 2010, 07:38:33 AM »
OK, lets start fro the beginning (I assumed all of you knew this)

Websites can be made in several ways, using client scripting languages:
- HTML
- JavaScript

or using server scripting languages
- ASP (classic ASP)
- PHP
- ASP.NET (totally different from classic ASP)
- .....

ASP and ASP.NET are Windows techonlogies and are runned using IIS , PHP is a Linux technology and runs under Apache. Still I know its possible to run ASP websites with Apache, how do I do that???
Visit RedmondXP.com

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Classic ASP on Linux
« Reply #4 on: June 23, 2010, 07:53:52 AM »
Not exactly what I meant.

Quote
ASP and ASP.NET are Windows techonlogies and are runned using IIS , PHP is a Linux technology and runs under Apache. Still I know its possible to run ASP websites with Apache, how do I do that???

A bit clearer now. You are hosting these sites? Or you're admin for these sites? Could they be converted or rewritten in a more up to date format?

I'll move this to Advanced Users section.

Offline Klinux

  • Sr. Member
  • ****
  • Posts: 287
    • RedmondXP.com
Re: Classic ASP on Linux
« Reply #5 on: June 23, 2010, 08:25:43 AM »
I am the owner/developer of these websites. Before I upload them to my hosting provider, I test them locally using IIS.

Convert them is no option, when scripting/developing something things can be done in different ways, I could have used PHP at that time, or ASP.NET, or Ruby, or any other thechnology, but I have used ASP and will continue to use ASP for those.
Also converting is no option because we are talking about thousends of pages scripting code, believe me lots!
I know what I am asking is possible, because different people has told me that, but don't know how to do that.

So the problem still remains.

Already thanks for the answes
Visit RedmondXP.com

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Classic ASP on Linux
« Reply #6 on: June 23, 2010, 09:25:46 AM »
When I was playing around with Apache in Windows back in early '07 there was an ASP mod for it.  I don't remember now where I got it from but I do know one exists.

Maybe something here might help?
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4037
Re: Classic ASP on Linux
« Reply #7 on: June 23, 2010, 09:32:17 AM »
Well, you certainly know how to do things the difficult way! I would have written my code in languages which were available on the server and installed those onto my local machine for testing, not expected to install something weird onto the server.

This might help you - http://www.apache-asp.org/install.html. Not a task for the faint-hearted as you will need to compile Apache from source yourself.

On the other hand, a hosting provider might not let you do that. It might still be easier to rewrite your pages in PERL or PHP.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Klinux

  • Sr. Member
  • ****
  • Posts: 287
    • RedmondXP.com
Re: Classic ASP on Linux
« Reply #8 on: June 23, 2010, 01:35:45 PM »
People, we can start a war her, but lets not do that.

I com efrmo a Windows background and have mostly used Win XP in the last years. In Windows its obvious to use IIS. In the past websites were written much in ASP, so I chose that.
If the situation would be the other way round I would have exactly the same problem. Linux background Perl website trying to run on Windows in IIS.

I am now trying to mdefinetly move to Linux this is why I ask what I asked.

>t might still be easier to rewrite your pages in PERL or PHP.
Are you willing to rewrite 30.000 pages for me? If yes let me now...yes, I could use tools for doing that, or regular expressions, but thats not safe enough to do, humans cannot be replaced ;-).
I will have a look at your links other suggestions are welcome
Visit RedmondXP.com

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4037
Re: Classic ASP on Linux
« Reply #9 on: June 23, 2010, 02:23:39 PM »
If the situation would be the other way round I would have exactly the same problem. Linux background Perl website trying to run on Windows in IIS.

Well, it's not much comfort now, I know, but actually both PERL and PHP are available for IIS, whereas getting ASP on a Linux server looks much more difficult. I have used a Windows IIS server with PHP at one point myself.

If you have 30,000 pages I presume they have been written to run on Windows servers using Windows Technologies over many years, and you sound like a typical victim of the commercial 'lock in' technique, where you have been encouraged to invest all your time in a product provided by only one supplier. Now when you want to move to something else you find you can't.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

genomega

  • Guest
Re: Classic ASP on Linux
« Reply #10 on: June 24, 2010, 01:10:13 PM »
Check out the mono project and here:    http://www.codeproject.com/KB/cross-platform/introtomono2.aspx
and perhaps Code Blocks.

Offline Klinux

  • Sr. Member
  • ****
  • Posts: 287
    • RedmondXP.com
Re: Classic ASP on Linux
« Reply #11 on: June 24, 2010, 02:33:16 PM »
I haven't read all, but as I can see the article is about ASP.NET, here we are talking about ASP, they are 2 totally different languages.
I think I will stuck on Windows in a virtualmachine for those websites, I think its the best and saves choice.

Thanks for the effort guys
Visit RedmondXP.com

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2339
Re: Classic ASP on Linux
« Reply #12 on: June 24, 2010, 03:35:29 PM »
Disclaimer:  I am no expert, and know little of web hosting/page serving.

That said, have  you looked at the Sun Java System Web Server?

They say "The great thing about Sun Java System Web Server 7.0 is not that it's a free web server, it's that it is a free web server that runs ASP on Linux"

Read more here:
   http://asp-programming.suite101.com/article.cfm/running_asp_on_a_linux_server

Retired Senior Chief, Retired Software Engineer, Active GrandPa