LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-22-2004, 10:35 AM   #1
the-chains
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 mod_expires.so 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.

Thanks
 
Old 07-22-2004, 11:20 AM   #2
stickman
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 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