Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-27-2004, 10:51 PM   #1
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
#comments and crap
<IfModule mpm_winnt.c>
config stuf
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
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47

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
# 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/
#  </IfModule>
# </IfDefine>
# This means that the 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.

i have stuff in /etc/apache2 for modules also. i normally dont touch modules accept to add the PHP4 support.


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:15 PM.

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