Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-22-2004, 11:35 AM   #1
LQ Newbie
Registered: Jul 2004
Distribution: Red Hat
Posts: 11

Rep: Reputation: 0
Apache module compilation problem

"Linux newbie"

Hi, I am currently trying to add the mod_expires.c module to Apache. I am fairly new to Apache and as I understand there are 2 ways for me to add a module. Either using the apxs utility to create a DSO or adding it while making Apache. I have tried both ways and still it does'nt work. While using apxs it gives me an error message and does'nt create de file in serverroot/modules/ . So....I am now trying to recompile Apache using this command:

./configure --prefix=/usr/localapache --with-layout=Apache --enable-share=expires --enable-module=expires

Still, it compiles and httpd works...nevertheless while doing httpd -l , it doesn't list mod_expires. By the way I am using Apache 2.0.50

What am I doing wrong?
How can I know if the module I want can beloaded dynamically or if I need to compile it?
Can anyone get me in touch with a good tutorial website, this stuff seems to be under-documented.

Old 07-22-2004, 12:20 PM   #2
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
DSO modules don't show up in the output of "httpd -l". That only shows statically compiled modules. Check your httpd.conf for the appropriate LoadModule line.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing irda module - problem during kernel compilation hobz Linux - General 3 07-08-2004 02:34 PM
NICdriver/module compilation problem pPcG5 Linux - Networking 0 09-11-2003 06:10 AM
module compilation aliyildiz Linux - General 6 03-31-2003 04:11 PM
Problem with Apache compilation gr8geezer Linux - Software 0 03-14-2003 12:25 AM
module compilation aliyildiz Linux - General 0 12-08-2001 02:53 PM

All times are GMT -5. The time now is 05:31 PM.

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