C:\xampp\apache\conf\httpd.conf
whith my old htdocs (syncronized) :
- Code: Select all
DocumentRoot "C:\Users\stefano.xxx\OneDrive - xxx\Documenti\htdocs"
<Directory "C:\Users\stefano.xxx\OneDrive - xxx\Documenti\htdocs">
If i try to show the older index.php i have :
- Code: Select all
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/dashboard/');
exit;
?>
Something is wrong with the XAMPP installation :-(
How can i solve it ?