apache help using xampp 2.1
Hi, All
I need it to goto http://bob5731.no-ip.info/web
PHP Code:
<?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 :-(
Re: apache help using xampp 2.1
Not sure why, becuase that link doesn't work: :confused:
But this is how you would do it:
PHP Code:
header('Location: http://bob5731.no-ip.info/web');
exit;
Re: apache help using xampp 2.1
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
bob5731.no-ip.info
11/02/05 10:55:26
Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.8 PHP/5.0.5 mod_autoindex_color
Re: apache help using xampp 2.1
Like I said, that is a broken link, so it won't work.
Re: apache help using xampp 2.1
IT is working for me http://bob5731.no-ip.info/web/ so goto it try it.
Re: apache help using xampp 2.1
The host cannot be resolved from my end. Hence it won't work.
Re: apache help using xampp 2.1
Re: apache help using xampp 2.1
If you go to the command line Start Menu->Run cmd. You can use nslookup:
Code:
M:\>nslookup bob5731.no-ip.info.
Server: delves-s.codedv.com
Address: 10.10.1.1
DNS request timed out.
timeout was 2 seconds.
*** Request to delves-s.codedv.com timed-out
M:\>
If the host name were resolved it would look like this:
Code:
M:\>nslookup www.google.com.
Server: delves-s.codedv.com
Address: 10.10.1.1
Non-authoritative answer:
Name: www.l.google.com
Addresses: 66.249.93.99, 66.249.93.104
Aliases: www.google.com
M:\>
I think you need to check your account with no-ip.info and ensure there are no problems with it.
Re: apache help using xampp 2.1
Sorry Bob, the problem was with me. A misconfiguration in my name server :blush: - I can now see your site. The reason it may not be working is because you didn't have a forward slash on the end of the address. Try this:
PHP Code:
header('Location: http://bob5731.no-ip.info/web/');
exit;
Re: apache help using xampp 2.1
Re: apache help using xampp 2.1
Re: apache help using xampp 2.1