Just delete or rename /opt/lampp/htdocs/index.html
Create /opt/lampp/htdocs/index.php with in it:
- Code: Select all
<?php
header("Location: http://www.example.com/"); /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
exit;
?>
according to:
http://ch2.php.net/headerIt will also possible to edit this ligne of /opt/lampp/htdocs/index.html :
- Code: Select all
<meta http-equiv="refresh" content="0;url=/xampp/">
and change the /xampp/ to your wondered location...
BE SURE TO CLEAN UP YOUR CACHE BEFORE, you can also try to restart lampp...