Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-12-2006, 11:11 PM   #1
LQ Newbie
Registered: May 2004
Posts: 20

Rep: Reputation: 0

I've been using debian and apache for many years, but I've only now encountered apache-modconf, which is apparently necessary to add or remove DSO modules in Apache 1.3.33 on Debian.

It seems to be a Debian specific "tool" as I can find very little documentation on it and even the Apache site's documentation index yields zero results for a search on it.

According to the notes here at the url below, you should be able to query for a module and get a response if it exists and is enabled.

However, when I do apache-modconf apache query expires_module nothing shows up. No confirmation that it is enabled. No error. Just a fresh command prompt.

I know it is enabled, because it appears (uncommented-out) in modules.conf. I also tried disabling and enabling expires_module, but I didn't get any response on the command line from that either (no error, confirmation or anything else). And checking modules.conf doesn't show any change (it isn't commented out as one would expect if you disabled it).

I don't see anything peculiar with strace. It just shows it checking /usr/lib/apache/1.3 and does a read and a stat64 on /usr/lib/apache/1.3/mod_expires.*

Anyone run into this before? Would there be any problem with me simply deleting modules.conf and copying the contents into httpd.conf like it always was? It used to be so simple to add a DSO module. You just add a LoadModule line into your httpd.conf and do an apachectl graceful.

Your thoughts and insight are appreciated.
Old 05-13-2006, 03:15 AM   #2
LQ Newbie
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Okay, it appears that it was my fault (though the documentation was unclear). The documentation says to use "module_name". That is incorrect. You need to use the mod *.so filename (sans the .so part).

So, instead of:

apache-modconf apache query expires_module

You need to use:

apache modconf apache query mod_expires

It makes sense, but one is the *name* (as referenced in your LoadModule line) and the other is a *file*. Anyway, it works.


apache, conf, disable, enable, mod, module, query

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
Where to get modconf? thorax Linux - Software 4 09-11-2004 07:10 PM
modconf won't install or remove modules mvent2 Linux - Hardware 3 08-08-2004 04:47 AM
modconf not working, no modules irks Linux - Newbie 1 07-01-2004 10:28 PM
modconf problem AlanL Debian 5 09-27-2003 12:36 AM
Modconf - Unresolved Symbols dimi Linux - General 2 07-08-2003 04:01 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:42 AM.

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