Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing apache2 with tomcat4+ssl+frontpage+JK2 (solaris)

Status
Not open for further replies.

frag

Programmer
Dec 7, 2000
321
GB
hi!

i am new to both solaris and this whole webserver stuff.

trying to install apache 2 on a solaris machine... this is my first hurdle. i have 'unzip' and 'untared' the package. but now i don't know what flags to use for the compiler. the compiler is the sun compiler and in my case can be found in '/opt/SUNWspro/6.0U2/WS6U2/bin' (can't use a different one!).

what would be the correct call to 'config' for this?

furthermore i need modules for ssl, frontpage and jk2.
oh... and i want to use tomcat for jsp-pages.

i have no clue where to start here. do i have to use this open-ssl you can find on the net or is there already a ssl-module included with apache?

help me please [sadeyes]

patrick.metz@epost.de
 
Hi Patrick,

I would recommend doing this work in phases so that you are not trying to do the most complicated thing first, especially if you lack Solaris and Apache experience.

1. Just try to compile a basic version of Apache 2.0 and get it working with static HTML on port 80.

2. Then I would focus on SSL. You do need to install openssl separately, and then try to get SSL working with Apache. Apache 2.0 has mod_ssl already built in.

3. Once you can serve up static HTML over SSL, you can install Tomcat, test your JSP's (hitting Tomcat default port 8080 directly), and then integrate Tomcat into Apache.

4. Apache will handle all the SSL stuff, so you don't have to make any SSL adjustments to your Tomcat instance. Once you can serve a JSP through Apache over SSL, everything else should be easy.

It sounds like many steps, but if you "divide and conquer" you will be able to make progress more quickly and learn things more easily.

So, for step 1, I recommend you install the latest patch cluster from You will not be able to run Apache 2.0 on Solaris without certain patches.

Next, I would verify that you have access to a "make" program in your path and also the "cc" compiler command.
Use "which make" and "which cc" to verify that these commands can be found.

Now try this:

CC=cc ./configure --prefix=/usr/local/apache

If that goes well, you can continue with "make", "make install" and then configure and start up Apache.

Good luck!

Marc
 
thanx dampfnudel!

started to put it together step by step.
but how can i tell 'configure' to use '-DEAPI' for
the modules?? i need this for the ssl-support!
my configure-command looks like this:

configure --with-apache=.... --with-ssl=.... --prefix=.... --enable-module=most --enable-shared=max --enable-shared=ssl

can't figure out how to add the DEAPI-flag...

any ideas??

cheers

Patrick patrick.metz@epost.de
 
ok, i added '--enable-rule=EAPI' to the 'configure'-command but it doesn't make any difference.
this is the error/warning i get:
[Tue Nov 26 11:55:00 2002] [warn] Loaded DSO libexec/mod_access.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)

the modules are compiled when i compile apache itself, right?

is it possible that i need something called mm-<versionnumber>. it has something to do with shared memory...

patrick.metz@epost.de
 
oh... btw... i am using apache 1.3.27 not 2.x ! :)


patrick.metz@epost.de
 
forget it... solved my problem by wiping everything from the disk and starting again from zero... what can i say?
dampnudel's step 1 and 2 are solved.

i will now try to get the frontpage extension and the mod_jk2 running and after that i have a date with tomcat4.
i hope he is willing to get married with my apache. ;-)

patrick.metz@epost.de
 
yes, it's me again... even if i fell like having a soliloquy, here is my next question ;-) :

which files do i need to make tomcat working as a JSP-container for apache 1.3.27 ?
i found different how-to's on the net, but they use different ways of solving the problem. there is one that says i should install the binary-version of tomcat, another one tells me that i should use the tomcat-connectors... what of this is true??

thanx

Patrick patrick.metz@epost.de
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top