LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



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

Rep: Reputation: 0
apache-modconf


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.

http://www.penguin-soft.com/penguin/...e-modconf.html

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
Cronjob
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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 07:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration