Page 1 of 1

http://localhost not working

PostPosted: 30. June 2009 07:39
by nibiran
Hi,
I installed XAMPP as per the instructions in http://www.apachefriends.org/en/xampp-linux.html.

However when I tried to start XAMPP with the command /opt/lampp/lampp start, I get...
Starting XAMPP for Linux 1.7.1...
XAMPP: Another web server daemon is already running.
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

Note here that for Apache, it says that 'another web server daemon is already running'.

Because of this, when i type http://localhost it does not open the normal xampp page but gives the contents of /srv/www/htdocs/index.html.

How do i change this so that http://localhost will show me the normal xampp page?

With regards
Nibiran

Re: http://localhost not working

PostPosted: 30. June 2009 07:51
by Wiedmann
Because of this, when i type http://localhost it does not open the normal xampp page but gives the contents of /srv/www/htdocs/index.html.

How do i change this so that http://localhost will show me the normal xampp page?

Stop the webserver which is installed from your operating system.

Re: http://localhost not working

PostPosted: 08. August 2009 04:56
by threegremlins
Using yubun2 810, I'm having the same problem. You know I've been using Linux for years now but for the life of me I don't know how to turn the web server off either graphically or command line, never had problems with Linux so never had to before. Ya wanna run the process by me. I've managed to get the web server that is running to point to the right folder but I keep getting a 403-Forbidden message which I will have to ask at the CMS's forum.

never mind this didn't work after all
# A link for redirecting firefox to the folder you want to use
# http://ubuntuforums.org/showthread.php?t=223410

Learned a lot today, instructions to turn off my web server is.
sudo /etc/init.d/apache2 stop
this of course is for yubun2, another Linux platform will be different, you'll have to look it up or type in a terminal "man apache" for your instructions. So I bet your thinking why didn't I do that first, the answer is I didn't know because it worked so I didn't care. Do now though;)
But I should have read all the instructions before posting here, I can use the Xampp control panel, wow imagine that. Hey smart thinkin guys.