what do i do?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

what do i do?

Postby ron102 » 06. January 2007 16:52

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
ron102
 
Posts: 37
Joined: 03. January 2007 13:29

Postby Wiedmann » 06. January 2007 18:25

remove the file "index.php". (because you have your own "index.html")

(clear your browser cache)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby ron102 » 06. January 2007 18:36

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
ron102
 
Posts: 37
Joined: 03. January 2007 13:29

Postby Wiedmann » 06. January 2007 19:12

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"
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby ron102 » 06. January 2007 20:50

sorry i was so long thanks very much just what i wanted
ron102
 
Posts: 37
Joined: 03. January 2007 13:29


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 221 guests