Results 1 to 12 of 12

Thread: apache help using xampp 2.1

  1. #1

    Thread Starter
    Fanatic Member bob5731's Avatar
    Join Date
    Nov 2004
    Posts
    918

    Angry 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

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    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.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Fanatic Member bob5731's Avatar
    Join Date
    Nov 2004
    Posts
    918

    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

  4. #4
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: apache help using xampp 2.1

    Like I said, that is a broken link, so it won't work.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  5. #5

    Thread Starter
    Fanatic Member bob5731's Avatar
    Join Date
    Nov 2004
    Posts
    918

    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

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: apache help using xampp 2.1

    The host cannot be resolved from my end. Hence it won't work.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  7. #7

    Thread Starter
    Fanatic Member bob5731's Avatar
    Join Date
    Nov 2004
    Posts
    918

    Re: apache help using xampp 2.1

    what are doing?
    P.S. God Love You And Have A Good Day!!!My web page

    I need to get a free Iphone

  8. #8
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    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.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  9. #9
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    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; 
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  10. #10

    Thread Starter
    Fanatic Member bob5731's Avatar
    Join Date
    Nov 2004
    Posts
    918

    Re: apache help using xampp 2.1

    have you used xampp 2.1?
    P.S. God Love You And Have A Good Day!!!My web page

    I need to get a free Iphone

  11. #11
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: apache help using xampp 2.1

    Nope
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  12. #12

    Thread Starter
    Fanatic Member bob5731's Avatar
    Join Date
    Nov 2004
    Posts
    918

    Re: apache help using xampp 2.1

    can you install for me.
    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
  •  



Click Here to Expand Forum to Full Width