Apache and ASP

They have: 8 posts

Joined: May 2002

umm... this might be a stupid question, but how do I get ASP to work with Apache? I am running Windows XP with Apache installed and it doesn't seem to be using ASP. It brings up the code for the page.

Thanks in advance

Zimbabwe

He has: 1,016 posts

Joined: May 2002

You've probably missed the steps where you're supposed to update httpd.conf to parse .asp files as ASP scripts. I suggest you go through the installation guide one more time. Oh, also don't forget to restart Apache when you're done.

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Well, now you can get Apache to parse ASP files but get it to parse them as ASP, no way unless you go third party. You could install something like apache:asp which will parse the pages using mod_perl. In general, I would never recommend anyone running Apache on a Windows machine except for testing purposes.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

He has: 1,016 posts

Joined: May 2002

mairving, I assumed he already had Apache-ASP or such as he mentioned ASP was already installed but was not working. Anyways, why wouldn't you recommend Apache on Windows? I've been running Apache + PHP + MySQL on a Windows2000 box (at home) for ever now and never had any problems with it. Works like a charm.

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

First, never assume anything. It wasn't totally clear whether ASP had been installed since it wasn't parsing ASP files.

Secondly running Apache on Windows is not as optimum as running Apache on a 'nix machine nor as secure. Apache has this to say about it:

Quote: Warning: Apache on NT has not yet been optimized for performance. Apache still performs best, and is most reliable on Unix platforms. Over time NT performance has improved, and great progress is being made in the upcoming version 2.0 of Apache for the Windows platforms. Folks doing comparative reviews of webserver performance are still asked to compare against Apache on a Unix platform such as Solaris, FreeBSD, or Linux.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

He has: 1,016 posts

Joined: May 2002

I know that Apache runs much better on Unix/Linux than it does on Windows, but I would still choose to run Apache over IIS on a Windows machine unless ASP, MS SQL and such were required. Just because Apache runs better on a *nix machine doesn't mean it runs poorly on Windows.

They have: 8 posts

Joined: May 2002

Sorry that I wasn't clear before. I was running IIS 5 before and that was running ASP fine. I heard that Apache was a better server so I downloaded it and installed. I was able to get PHP and MySQL working on Apache, but not ASP. I would prefer not to rely on 3rd party software as I do not have the time to properly research it.

I need a server that can handle PHP, MySQL, ASP, JSP, Cold Fusion, MS SQL, CGI-Perl.

Would you recommend that I switch back to IIS, or continue to fight with Apache?

Zimbabwe

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Yeah, I have pondered that question a time or two. Running IIs on Windows or running Apache. It always comes down to the same solution for me, use Linux as my webserver OS. Plus it is just plain sickening how much MS charges for things. That is if you can understand the licensing.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

They have: 8 posts

Joined: May 2002

True... but I don't know any good solutions for ASP on a linux server. I have tried chillisoft ASP, but havn't had much luck with that.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.