Page 1 of 1

what do i do?

PostPosted: 06. January 2007 16:52
by ron102
Hi when i put my website in (www.ronuk.org) it automaticly adds www.ronuk.org/xampp to the address bar asking for usernane and pass and i want it to open it at www.ronuk.org what can i do? the name was registered www.ronuk.org
no: 2
how do i get it to open up www.ronuk.org/index.html

and ive just found this in index.php
<?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 :-(

and now ive found this there are two index.html one in lower case and one in upper case but i havent got one in upper case

PostPosted: 06. January 2007 18:25
by Wiedmann
remove the file "index.php". (because you have your own "index.html")

(clear your browser cache)

PostPosted: 06. January 2007 18:36
by ron102
thats done Q2 but what about Q1 It keeps defaulting to www.ronuk.org/xampp, i want it to go to www.ronuk.org or www.ronuk.org/index.html
any clues?
and thanks so far

PostPosted: 06. January 2007 19:12
by Wiedmann
No. This answers your question.

"www.ronuk.org/index.html" works fine. But for "www.ronuk.org", without a redirect to "/xampp/", you must remove the original "index.php"

PostPosted: 06. January 2007 20:50
by ron102
sorry i was so long thanks very much just what i wanted