Operating System - HP-UX
1837090 Members
2286 Online
110112 Solutions
New Discussion

Re: Setting up a Server (Web)

 
Richard Briggs
Regular Advisor

Setting up a Server (Web)

Can anyone tell me a procedure that will enable me to get apache 2.0.x + open ssl and mod_ssl working on my HPUX 11.0 machine?

precompiled binaries?
steps to take?
procedure?

Or point me somewhere that's HPUX friendly?

thanks for any help
#find / -name coffee | cup < cream
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: Setting up a Server (Web)

There is a pretty good doc on Apache's website.

http://www.apache.org

There is nothing special about Apache 2.0 on HP-UX. The configuration files are all the same.


A search that might help.

http://us-support2.external.hp.com/emse/bin/doc.pl?searchtext=apache+configuration+ssl&from=forums&hpl=1&todo=search&searchcriteria=allwords&searchcategory=ALL&rn=25&presort=rank

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kevin Wright
Honored Contributor

Re: Setting up a Server (Web)

the apache docs should be all you need.

configure apache
build ssl to use the apache source,
then make and install apache. The readme's in mod_ssl should give you step by step procedures.

Re: Setting up a Server (Web)

http://hpux.connect.org.uk/hppd/hpux/

There you can get precompilled binaries.
I have installed it and tested it.
All works ok.

My personal notes about the installation:
Get Apache+PHP and install all the dependencies.
Add these lines to Apache config file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .inc
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps

This will enable the PHP engine, otherwise PHP files will be dumped as text.
When installing GCC, first install version 3.2 and then install version 3.2.3 (version 3.2.3 lacks some libraries that come with the 3.2 version).
If you install MySQL, the database engine will work ok but the mysql binary for the interactive shell will not work because of a bad compilled library. Use PhpMyAdmin and you are done.
after installing perl, you will see that some MySQL scripts will not work ok. This is because it expects to find perl in /opt/archive/perl. Fix it:
mkdir /opt/archive
ln -s /usr/local/bin/perl /opt/archive/perl

also remember to export PATH=/usr/local/bin:$PATH
Some GNU applications rely on no complete path executions when processing scripts (make and configure for example), so this will fix them.

I got only one problem... my machine died because of unknown error (not apache related), so I posted another thread asking for possible solution.

Thank you for your attention

Kaloyan Olegov Georgiev
Michael Tully
Honored Contributor

Re: Setting up a Server (Web)

The other guys have assisted you with the apache stuff. Please make sure that you set up your server securely before throwing it out to the wolves. (internet land)

Start with the bastion white paper.
http://www.hp.com/products1/unix/operating/infolibrary/whitepapers/building_a_bastion_host.pdf

The information from Steven Protter gives some additional information on securing a system.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe121aaf9f7b2d711abdc0090277a778c,00.html
Anyone for a Mutiny ?
Richard Briggs
Regular Advisor

Re: Setting up a Server (Web)

SO....


....using Apache 2.x will not affect anything else with regard to the ssl's?

I haven't been able to find any precompiled binaries for mod or open ssl. But I did get the Apache precompiled binary. (thanks) Any clues on the other two?

#find / -name coffee | cup < cream
Kevin Wright
Honored Contributor

Re: Setting up a Server (Web)

You should have no problem at all building a version of mod_ssl from source. Very simple process. Then rebuild your apache using make certificates and such. As I said, the README from mod_ssl gives you detailed, simple steps.
Richard Briggs
Regular Advisor

Re: Setting up a Server (Web)

What if I already have Apache 2.x compiled and installed on my machine...do I have to reinstall it?

#find / -name coffee | cup < cream
Kevin Wright
Honored Contributor

Re: Setting up a Server (Web)

Did you build your apache to utilize SSL? If not, then you would need a rebuild. Again, the INSTALL/README file from the ssl source gives you step by step instructions.