in htdocs

create file index.php

<?php
if (!empty($_SERVER[‘HTTPS’]) && (‘on’ == $_SERVER[‘HTTPS’])) {
$uri = ‘https://’;
} else {
$uri = ‘http://’;
}
$uri .= $_SERVER[‘HTTP_HOST’];
header(‘Location: ‘.$uri.’/your site/’);
exit;
?>
Something is wrong with the XAMPP installation 🙁

Create index.php for Xampp

Comments

comments

Tagged on: