LinuxQuestions.org
Register a domain and help support LQ
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 11-05-2003, 04:46 AM   #1
wellsaj
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Loading Apache module question ??


Hi All

I have a simple question relating to the Apache web server.

My current installation relates to a DSO based apache 1.3.27 on Solaris.
I would like to know that before you declare a directive that relates to a DSO you need to load the module first with the LoadModule command in the httpd.conf, before you can declare a directive. SO my question is, am I correct in what I say ??

Kind Regards
 
Old 11-05-2003, 04:50 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Yes, you would need to have a LoadModule statement, but I don't believe that the order in which the statements appear in httpd.conf matters - so if the LoadModule statement comes after you declare the directive it shouldn't matter.

Håkan
 
Old 11-05-2003, 04:56 AM   #3
wellsaj
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Hi

The error message below is due what happens when I declare the directive before the LoadModule statement

httpd: CONFIG IS BROKEN: '/Ehealth/web/httpd/httpd.conf'
+--------------------------------------------------
| Syntax error on line 9 of /Ehealth/web/httpd/httpd.conf:
| Invalid command 'CustomLog', perhaps mis-spelled or defined by a module not in
cluded in the server configuration
+--------------------------------------------------
httpd: start FAILED.


Now id I put it below the LoadModule statement then the web server starts up fine

Kind Regards
James
 
  


Reply


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
Verifying apache module loading/functioning merana Linux - Software 0 02-23-2005 01:23 PM
Trouble with loading MySQL module on Apache vladimir-dk Linux - Software 3 06-25-2004 11:13 PM
apache module question thar Linux - Software 5 05-16-2004 10:14 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 04:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 03:27 PM


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