|
-
Nov 1st, 2005, 01:19 PM
#1
Thread Starter
Fanatic Member
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 :-(
P.S. God Love You And Have A Good Day!!! My web page
I need to get a free Iphone
-
Nov 2nd, 2005, 11:25 AM
#2
Re: apache help using xampp 2.1
Not sure why, becuase that link doesn't work: 
But this is how you would do it:
PHP Code:
header('Location: http://bob5731.no-ip.info/web');
exit;
Last edited by visualAd; Nov 3rd, 2005 at 11:48 AM.
-
Nov 2nd, 2005, 11:55 AM
#3
Thread Starter
Fanatic Member
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
P.S. God Love You And Have A Good Day!!! My web page
I need to get a free Iphone
-
Nov 2nd, 2005, 12:02 PM
#4
Re: apache help using xampp 2.1
Like I said, that is a broken link, so it won't work.
-
Nov 2nd, 2005, 12:10 PM
#5
Thread Starter
Fanatic Member
Re: apache help using xampp 2.1
IT is working for me http://bob5731.no-ip.info/web/ so goto it try it.
P.S. God Love You And Have A Good Day!!! My web page
I need to get a free Iphone
-
Nov 3rd, 2005, 12:51 AM
#6
Re: apache help using xampp 2.1
The host cannot be resolved from my end. Hence it won't work.
-
Nov 3rd, 2005, 12:57 AM
#7
Thread Starter
Fanatic Member
Re: apache help using xampp 2.1
P.S. God Love You And Have A Good Day!!! My web page
I need to get a free Iphone
-
Nov 3rd, 2005, 01:05 AM
#8
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.
-
Nov 3rd, 2005, 11:46 AM
#9
Re: apache help using xampp 2.1
Sorry Bob, the problem was with me. A misconfiguration in my name server - 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;
-
Nov 3rd, 2005, 12:46 PM
#10
Thread Starter
Fanatic Member
Re: apache help using xampp 2.1
P.S. God Love You And Have A Good Day!!! My web page
I need to get a free Iphone
-
Nov 3rd, 2005, 01:29 PM
#11
Re: apache help using xampp 2.1
Nope
-
Nov 3rd, 2005, 01:46 PM
#12
Thread Starter
Fanatic Member
Re: apache help using xampp 2.1
P.S. God Love You And Have A Good Day!!! My web page
I need to get a free Iphone
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|