Results 1 to 2 of 2
Hi, I was running a web server using apache, somehow it started not working properly. So I wanted to uninstall Apache. At first, I wrote "./apachectl stop" to stop the ...
- 02-07-2011 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 18
Uninstalling Apache Web Server
Hi, I was running a web server using apache, somehow it started not working properly. So I wanted to uninstall Apache. At first, I wrote "./apachectl stop" to stop the running apache server. After that i wrote "rm -rf /usr/local/apache2" to delete the folders. So far, it seemed normal. But when I wrote //localhost on firefox, the page which was appearing when apache server was running again appeared. So, I restarted my machine, and after that opened localhost again. But the page was still there. I don't know what caused this, but it is obvious that that server is immortal.
Also, I found another path for apache server but I am not quite sure. It is /srv/www/htdocs/ that directory consisted that appearing page. I am not sure if i delete this folder, too. By the way, I guess I broke my internet connection while configuring Apache web server.
I just wrote "# telnet localhost 80" in the terminal. And after that I changed the port which apache server listens to in httpd.conf. Does anyone know how to terminate this apache' session? Also could somebody tell me how can i fix my internet connection?
Thanks in advance.
- 02-08-2011 #2
How did you install apache? Just deleting the various folders in the wrong way to go about it, unless you installed from source. You should use your package manager to install/uninstall software.


Reply With Quote