LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-11-2002, 05:47 PM   #1
morbo
Member
 
Registered: Dec 2001
Posts: 53

Rep: Reputation: 15
Adding modules to apache....


I have apache 1.3.22 installed on my redhat box, but I need to add the openSSL module to enable a SSL server......

How do I go about adding the module to apache? I set up the server about 3 months ago, and it has been running great-but I need to make some additions, and any help would be appreciated!

thanks,
Jeff
 
Old 02-11-2002, 05:50 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Near the bottom of your httpd.conf file is going to be a section for adding the ssl and php modules. It will also have a list of the required components... install those, uncomment what you need, kill and restart apache.

Cheers,

Finegan
 
Old 02-11-2002, 06:40 PM   #3
morbo
Member
 
Registered: Dec 2001
Posts: 53

Original Poster
Rep: Reputation: 15
Ok, I figured since the new apache (1.3.23) was out I would upgrade, AND install mod_ssl and openssl for my server. Here is what I have done so far:

[root@ns3 mod_ssl-2.8.6-1.3.23]# ./configure --with-apache=/usr/local/apache/ugh/apache_1.3.23/
Configuring mod_ssl/2.8.6 for Apache/1.3.23
+ Apache location: /usr/local/apache/ugh/apache_1.3.23/ (Version 1.3.23)
+ Auxiliary patch tool: ./etc/patch/patch (local)
+ Applying packages to Apache source tree:
o Extended API (EAPI)
o Distribution Documents
o SSL Module Source
o SSL Support
o SSL Configuration Additions
o SSL Module Documentation
o Addons
Done: source extension and patches successfully applied.

Now proceed with the following commands (Bourne-Shell syntax):
$ cd /usr/local/apache/ugh/apache_1.3.23/
$ SSL_BASE=/path/to/openssl ./configure ... --enable-module=ssl
$ make
$ make certificate
$ make install
[root@ns3 mod_ssl-2.8.6-1.3.23]# cd /usr/local/apache/ugh/apache_1.3.23/
[root@ns3 apache_1.3.23]# SSL_BASE=/usr/local/openssl/openssl-0.9.6c/ ./configure ... --enable-module=ssl
Configuring for Apache, Version 1.3.23
+ using installation path layout: Apache (config.layout)
configure:Error: invalid option '...'
[root@ns3 apache_1.3.23]# SSL_BASE=/usr/local/openssl/openssl-0.9.6c/ ./configure --enable-module=ssl
Configuring for Apache, Version 1.3.23
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Error: Cannot find SSL binaries under /usr/local/openssl/openssl-0.9.6c/
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.8.6
+ SSL interface build type: OBJ
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Built-in SDBM
+ SSL library path: /usr/local/openssl/openssl-0.9.6c/

So far no probs, however look at the following:
[root@ns3 apache_1.3.23]# make
===> src
make[1]: Entering directory `/usr/local/apache/ugh/apache_1.3.23'
make[2]: Entering directory `/usr/local/apache/ugh/apache_1.3.23/src'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/usr/local/apache/ugh/apache_1.3.23/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache/ugh/apache_1.3.23'
make: *** [build] Error 2

I'm not sure what the deal is, I already have apache 1.3.22 installed, without any SSL modules attached. I'm learning as I go, so I'm not sure exactly what to do at this point, thanks for the time!

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Modules ikkuh1991 Slackware 5 07-15-2005 08:39 AM
adding to modules.conf berrance Linux - Software 5 05-30-2005 06:04 AM
Adding kernel modules dustin_wielenga Slackware 5 02-15-2005 11:10 PM
Adding modules to apache after the original installation from source? WorldBuilder Linux - Networking 1 09-18-2003 01:20 AM
Rehashing Apache and adding Modules to it pilot1 Linux - Newbie 1 11-08-2002 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration