LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hello problem with apache server (https://www.linuxquestions.org/questions/linux-newbie-8/hello-problem-with-apache-server-805235/)

ressurected 04-30-2010 04:37 PM

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)

rweaver 04-30-2010 04:42 PM

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.

ressurected 04-30-2010 05:01 PM

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...

John VV 04-30-2010 09:39 PM

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 ??

ressurected 05-01-2010 02:09 PM

Quote:

Originally Posted by John VV (Post 3953513)
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

ressurected 05-01-2010 03:07 PM

Quote:

Originally Posted by ressurected (Post 3954009)
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


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