LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-06-2007, 09:12 PM   #1
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Poá - São Paulo
Distribution: Debian Etch
Posts: 110

Rep: Reputation: 15
Adding modules to Apache


Hello there!

I got a little question here: What are the ways available to add a module to Apache? I mean, I have a running installation of Apache on my box that is working fine (I have compiled it by myself manually) but now I need to add a module that was not compiled with the Apache core, for instance, the mod_ssl, what are the available options I have to install this new module? I have read something about DSO (Dynamic Shared Object) but I got a little confused about that, by the way, does it have anything to do with adding new modules to Apache without needing to compile it?

Thank You!!

Rodrigo
 
Old 08-06-2007, 09:46 PM   #2
mattax.m
LQ Newbie
 
Registered: Aug 2007
Distribution: Kubuntu, Fedora
Posts: 8

Rep: Reputation: 0
Depending on your distribution / apache version it could be simple as:
Code:
sudo apt-get install libapache2-mod-ssl
Though it will more complicated as you built your apache from source.

if you don't want to compile everything you could do the following (assuming you have apt-get)

Code:
sudo apt-get install apache2 libappache2-mod-ssl
and all should be set up!
 
Old 08-09-2007, 07:40 AM   #3
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
yes, a DSO is the way you want to go.
grab the source for mod_ssl and build them, with the target of mod_ssl.so then install into the shared folder of your http build.
then edit the httpd.conf and make sure the addmodule mod_ssl is uncommented so it load.
then uncomment the loadmodule for mod_ssl and make sure it is pointing to the correct location.
save changes and do an apachectl restart
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache/PHP Question on adding modules dynamically nyheat Linux - Software 3 03-15-2006 12:08 AM
Adding Modules ikkuh1991 Slackware 5 07-15-2005 08:39 AM
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
Adding modules to apache.... morbo Linux - Networking 2 02-11-2002 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:30 PM.

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