Can someone help me with this please!!!

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

Can someone help me with this please!!!

Postby wish » 14. February 2013 01:03

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!!
wish
 
Posts: 3
Joined: 13. February 2013 23:20
Operating System: windows XP Professional

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

Postby Altrea » 14. February 2013 06:26

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby wish » 14. February 2013 08:55

thanks for responding i was just wondering what that was ia all, sorry im a noob to this kinda stuff lol!
wish
 
Posts: 3
Joined: 13. February 2013 23:20
Operating System: windows XP Professional


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 130 guests