Page 1 of 1

Can someone help me with this please!!!

PostPosted: 14. February 2013 01:03
by wish
Hi i was looking around at files and i came across this its path is---C:\\xampp\htdocs

<?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 :-(

Does anyone know anything bout this?? everything seems to be working fine except tomcat. i cant get it working. What should i do about this message any suggestions????

thanks in advance!!

Re: Can someone help me with this please!!!

PostPosted: 14. February 2013 06:26
by Altrea
Hi wish and welcome to our board,

first: do you think that "Can someone help me with this please!!!" is a selfspeaking headline for your thread? 99,9% of all threads in this forum are support requests for help. It helps a lot to search and find helpful threads if the headlines of the threads contains a hint to the topic which is covered there.

wish wrote:Hi i was looking around at files and i came across this its path is---C:\\xampp\htdocs

<?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 :-(

Does anyone know anything bout this??

Sure. The file contains a protocol related redirection which takes effect if php is working correctly. If not, a message is displayed.

wish wrote:everything seems to be working fine except tomcat. i cant get it working.

And why do you think that this file does have anything to do with that?
btw: "is not working" is not a helpful error reporting at all.

wish wrote:What should i do about this message any suggestions????

I don't see a message, i just see the contents of a file.

best wishes,
Altrea

Re: Can someone help me with this please!!!

PostPosted: 14. February 2013 08:55
by wish
thanks for responding i was just wondering what that was ia all, sorry im a noob to this kinda stuff lol!