Problems with the Windows version of XAMPP, questions, comments, and anything related.
by Wit » 24. February 2009 00:54
Can somebody please send the original code from xampp/htdocs/index.php. I saved an other index.php over it.
-
Wit
-
- Posts: 2
- Joined: 24. February 2009 00:51
by Izzy » 24. February 2009 00:58
Here you go and don't forget to use a text editor and save as text not any other encoding like utf-8 for example:
- Code: Select all
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/xampp/');
exit;
?>
Something is wrong with the XAMPP installation :-(
Last edited by
Izzy on 12. March 2009 10:42, edited 2 times in total.
-
Izzy
-
- Posts: 3344
- Joined: 25. April 2006 17:06
by Wit » 24. February 2009 01:00
thanks
-
Wit
-
- Posts: 2
- Joined: 24. February 2009 00:51
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 174 guests