LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2010, 04:37 PM   #1
ressurected
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Rep: Reputation: 0
hello problem with apache server


hello
I wanted to remove apache and it worked but everytime it`s installed it comes with the old settings...and I want the default ones..I don`t know to manage an apache server but i`m learning!
I tried these commands and not of then didn`t had any effect:
apt-get remove apache2
aptitude remove apache2
rm -rf /etc/apache2 , rm -rf /var/www
dpkg -P apache2
and of course ... --purge remove apache2
please help me..I tried the irc channel but..nothing
I really need help and thank you in advance
(if you recomand some tutorials too..you are most welcomed)
 
Old 04-30-2010, 04:42 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Are you root when you execute the commands? What makes you think they didn't work?

(rm -rf will work period as far as purging the configs from system goes.)

I don't not think you are doing what you think you are doing.

Last edited by rweaver; 04-30-2010 at 04:44 PM.
 
Old 04-30-2010, 05:01 PM   #3
ressurected
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
the commands worked the problem is that when installing apache is not working and it has the old configuration files..I just want to have it installed with the default configuration...
 
Old 04-30-2010, 09:39 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
.I just want to have it installed with the default configuration.
a clean apache install ( without a cms) will have you go to the apache default " coagulation " index . html page

what happens if you go to 127.0.0.1 ( or what ever your docroot is )

and can you answer these
what os is this ?
how was apache installed ( rpm , deb, arch.gz , ???? )
how are YOU CURRENTLY installing apache??? ( and myqsl,php,perl,...)

did you , and do you, have a .apache config folder in the normal user home folder ?

how are you setting httpd.conf ??? the settings ??
 
Old 05-01-2010, 02:09 PM   #5
ressurected
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
a clean apache install ( without a cms) will have you go to the apache default " coagulation " index . html page

what happens if you go to 127.0.0.1 ( or what ever your docroot is )

and can you answer these
what os is this ?
how was apache installed ( rpm , deb, arch.gz , ???? )
how are YOU CURRENTLY installing apache??? ( and myqsl,php,perl,...)

did you , and do you, have a .apache config folder in the normal user home folder ?

how are you setting httpd.conf ??? the settings ??
Hello,
if I go to the localhost nothing appear
I use debian lenny
apache was installed using the command apt-get install apache2
and I didn`t made any changes to the httpd file
I repeat..I just want to install apache2 with the default settings nothing else but if I remove it and install it again it keeps having the old settings
 
Old 05-01-2010, 03:07 PM   #6
ressurected
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ressurected View Post
Hello,
if I go to the localhost nothing appear
I use debian lenny
apache was installed using the command apt-get install apache2
and I didn`t made any changes to the httpd file
I repeat..I just want to install apache2 with the default settings nothing else but if I remove it and install it again it keeps having the old settings
problem solved,thank you all
 
  


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
Apache server problem sanjee Linux - Server 14 03-13-2009 03:37 AM
Apache server problem atomicrm Linux - Server 3 02-15-2009 11:36 AM
Apache server Problem!! movanns Linux - General 4 05-19-2005 09:59 PM
Apache 2.0 server problem codabiz Mandriva 2 12-21-2003 10:51 AM
problem with apache server lomaree Linux - Software 2 05-25-2003 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 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