Eu tenho um XAMPP(lampp) em execução no diretório /opt/lampp/htdocs/xampp .
Eu fiz o download de xampp 1.8.2-4 de aqui
Eu inicio o xampp por sudo /opt/lampp/lampp start/stop , então sempre que eu bato no localhost ele me redireciona para localhost/xampp
Agora, o problema é quando eu vejo localhost/xampp sua exibição
Not Found
The requested URL /xampp/ was not found on this server.
Apache/2.4.6 (Ubuntu) Server at localhost Port 80
o problema é que meu localhost está apontando para /var/www/index.html não para /opt directory
O Apache está iniciando quando eu digito no terminal:
$ service apache2 start
* Starting web server apache2
Agora, depois de parar o XAMPP por
sudo /opt/lampp/lampp stop
quando eu bato localhost em seu diretório index.html de var/www com uma mensagem
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Como posso fazer meu XAMPP responder com
sudo /opt/lampp/lampp start
Como isso pode ser resolvido?