Forum Moderators: phranque

Message Too Old, No Replies

One ASP page doesn't work on Apache

Moving from IIS to Apache - Can I use JSP?

         

smiddy

1:55 pm on Sep 10, 2004 (gmt 0)

10+ Year Member



I am looking at using Apache to host my website as opposed to IIS as I want to be able to host more than one website on my server which is running Windows XP Professional.

So I set things up on a test environment and all but one thing is working well for me. I have one page on my regular website that is an ASP page. I guess Apache doesn't understand ASP. I understand that JSP is native to Apache? Does that mean it will automatically run JSP without installing anything else for Apache?

In your opinion, what is the best way for me to approach this issue? Should I try to convert the ASP page to JSP? I don't know JSP. Maybe someone here or on another forum can translate my page for me? Any other way to easily handle this?

RonPK

4:10 pm on Sep 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you query Google for 'isapi filter multiple sites' you may find an ISAPI filter that reads the host header and redirects the request to the appropiate directory - enabling you to run multiple sites on the XP machine.

If you want to go for Apache, I'd suggest using PHP and not JSP, as PHP's learning curve is very gentle.

Welcome to WebmasterWorld, by the way!

smiddy

5:15 pm on Sep 10, 2004 (gmt 0)

10+ Year Member



Thanks.

I'm not sure what PHP is. Does it run natively? I only have a couple of lines that need translated on one page, so I wouldn't want to learn JSP just to make this change.

What would you do, assuming I stayed with Apache, to get this page to work? Read up on PHP and translate it yourself? Or do it in JSP?

RonPK

9:37 am on Sep 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



PHP is a widely used server side scripting language. LAMP (Linux, Apache, MySQL, PHP) is a very popular combination among webdeveloppers. WAMP (Windows, ...) works nicely too.

I don't have much experience with JSP so I shouldn't say too much about that. PHP is quite easy to learn.