logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Hosting sites
Author
FeartheDark



Joined: 27 Aug 2010
Posts: 2

PostPosted: Fri 27 Aug '10 17:23    Post subject: Hosting sites Reply with quote

Hi guys, I have developed a number of sites but I have never hosted them before so help would be appreciated.

I have index, ismdevice, legacy, and download.jsp pages that I would like to put up. Currently when I type my ip 172.XXX.XXX.XXX it will go to the page that I want but it displays them as source code. Did I put something incorrectly in one of the conf files? If you need more info post what you require and I will get back to you.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 27 Aug '10 18:37    Post subject: Reply with quote

No, I doubt you've done anything wrong.

If these jsp files do not actually require tomcat,

in httpd.conf find the <IfModule mime_module> section.
Inside it add;

AddType text/html jsp

save change and then restart Apache.
Back to top
FeartheDark



Joined: 27 Aug 2010
Posts: 2

PostPosted: Fri 27 Aug '10 19:43    Post subject: Reply with quote

Thanks for the reply, but I do have servlets and looks like I need tomcat. I have it installed and I am currently trying to setup the servlets.
Back to top


Reply to topic   Topic: Hosting sites View previous topic :: View next topic
Post new topic   Forum Index -> Apache