LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-19-2005, 05:01 AM   #1
dev_mohamed
LQ Newbie
 
Registered: Jun 2005
Posts: 18

Rep: Reputation: 0
where is the apache2 config file


Dear,
i have a debian system with apache when i see that there is a new version of apache i uninstall apache and install apache2 i go to

/etc/apache2/httpd.conf to configure the server like old apache do but i found this file is like this:

# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so

so my Question is where is the config file for apache2 is it use the old one /etc/apache/httpd.conf

and if not why the dir apache doesn't remove when i make uninstall for the old apache.

thank you.
 
Old 06-19-2005, 06:42 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Quote:
so my Question is where is the config file for apache2 is it use the old one /etc/apache/httpd.conf

and if not why the dir apache doesn't remove when i make uninstall for the old apache.
To erase package with configuration file use --purge option to apt-get
# apt-get --purge remove apache

You apahce config file is /etc/apache2 dir only use that one and remove old one with
rm -rf /etc/apache
 
Old 06-20-2005, 08:21 PM   #3
steveo4406
LQ Newbie
 
Registered: Jun 2005
Distribution: Debian 3.1
Posts: 2

Rep: Reputation: 0
l

Last edited by steveo4406; 06-20-2005 at 08:23 PM.
 
  


Reply



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 Config Help - No Idea YaAqoB Linux - Software 2 08-17-2005 02:47 AM
Can't config mod_deflate on apache2 joeyta Linux - Software 2 02-18-2005 03:58 PM
Apache2: which config file to alter? hamish Linux - General 10 06-16-2004 05:12 PM
Apache2 config errors.. SiGmA_X Linux - Software 0 06-17-2003 02:39 AM
Configuring the Apache2 config file to use PHP4 mindstormsguy Linux - Software 3 05-29-2003 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:36 PM.

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
Open Source Consulting | Domain Registration