LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-27-2004, 10:51 PM   #1
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
apache2 configuration


I am going through the apache config file and i have a number of questions. (im using apache 2)

question 1
Im seeing parts of the config file that are like this
-----------------------
# WinNT MPM
#comments and crap
<IfModule mpm_winnt.c>
config stuf
</IfModule>
-----------------------
of course I wont need this (or BeOS, or netware) seing as how I am on linux, but do I need to leave these parts of the config file there for refference or is it safe to delete them for a smaller nicer config file?

also theres <IfModule prefork.c>, <IfModule worker.c>, and <IfModule perchild.c>. are all these for linux, cause I cant quite tell.


question 2
where are config files for the various modules stored?
 
Old 01-27-2004, 11:23 PM   #2
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
1.

to answer question 1, i'd just leave em alone because it only does anything if u have those modules. you coudl probably delete them but...if it aint broke dont fix it.

2. i have files for apache2 all over the place (Gentoo defaults)

i have a config file for /etc/init.d/apache2 in /etc/conf.d (filename is apache2)
and in it i had to add a line to get PHP4 support:
here is the entire file
Code:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/net-www/apache/files/2.0.40/apache2.confd,v 1.5 2003/09/27 04:47:18 woodchip Exp $

# Config file for /etc/init.d/apache2

# An example from /etc/apache2/conf/modules.d/40_mod_ssl.conf:
#
# <IfDefine SSL>
#  <IfModule !mod_ssl.c>
#    LoadModule ssl_module    extramodules/mod_ssl.so
#  </IfModule>
# </IfDefine>
#
# This means that the mod_ssl.so DSO module is only loaded
# into the server when you pass "-D SSL" at startup.  To
# enable WebDAV, add "-D DAV -D DAV_FS".  If you installed
# mod_php then add "-D PHP4".  For more options, please
# read the files in the /etc/apache2/conf/modules.d directory.

APACHE2_OPTS="-D SSL -D PHP4"
i have stuff in /etc/apache2 for modules also. i normally dont touch modules accept to add the PHP4 support.
 
  


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
Apache2.0.52, t1lib-5.0.2, php-apache2-5.0.2 wizard7423 Slackware 2 04-04-2011 08:09 PM
Apache2 apache2-common WebDav timgerr Linux - Networking 1 08-25-2005 09:41 PM
Correct configuration for Apache2 and logrotate ricur Linux - Software 4 11-18-2004 12:22 PM
Your system configuration does not match your Evolution configuration ohoh Linux - Software 0 08-19-2004 02:06 PM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 11:46 AM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
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