502 Bad Gateway?!

Results 1 to 13 of 13
  1. #1
    Member Wallop is offline
    MemberRank
    May 2013 Join Date
    49Posts

    502 Bad Gateway?!

    When people go onto my Hotel, it redirects them to a "502 Bad Gateway", it won't let ANYBODY on, so can someone try help me out here?

    Rep+ If anybody can help out or at least tries!

    Reguards,
    Wallop.

    Edit: If you wanna see for yourself, then go ahead.. http://wallop-hotel.no-ip.org/index

    Anybody gonna help..?


  2. #2
    hi i'm robbie Roper is offline
    Grand MasterRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: 502 Bad Gateway?!

    You got a htaccess/web.config file???

  3. #3
    Member Wallop is offline
    MemberRank
    May 2013 Join Date
    49Posts

    Re: 502 Bad Gateway?!

    Quote Originally Posted by Roper View Post
    You got a htaccess/web.config file???
    Nope :P

    Wait, I have an .htaccess folder.. Here it is

    HTDOCS:

    Code:
    RewriteEngine On
    
    
    RewriteRule ^(|/)$ index.php?url=$1
    RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1
    RewriteEngine on
    RewriteRule ^(.*)\.htm$ $1.php [NC]
    
    
    RewriteRule ^(|/)$ dash.php?page=$1
    RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dash.php?url=$1

  4. #4
    hi i'm robbie Roper is offline
    Grand MasterRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: 502 Bad Gateway?!

    Are you running IIS or XAMPP?

  5. #5
    Member Wallop is offline
    MemberRank
    May 2013 Join Date
    49Posts

    Re: 502 Bad Gateway?!

    I'm running Xampp

  6. #6
    hi i'm robbie Roper is offline
    Grand MasterRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: 502 Bad Gateway?!

    Replace your current .htaccess with:
    Code:
    RewriteEngine On 
    RewriteRule ^(|/)$ index.php?url=$1 
    RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1 
    RewriteRule ^(.*)\.htm$ $1.php [NC] 
    RewriteRule ^(|/)$ dash.php?page=$1 
    RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dash.php?url=$1

  7. #7
    Member Wallop is offline
    MemberRank
    May 2013 Join Date
    49Posts

    Re: 502 Bad Gateway?!

    Nope, it's not working.. :P

  8. #8
    hi i'm robbie Roper is offline
    Grand MasterRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: 502 Bad Gateway?!

    Quote Originally Posted by Wallop View Post
    Nope, it's not working.. :P
    What version of XAMPP you using mate?

  9. #9
    Member Wallop is offline
    MemberRank
    May 2013 Join Date
    49Posts

    Re: 502 Bad Gateway?!

    v3.1.0 :P

  10. #10
    hi i'm robbie Roper is offline
    Grand MasterRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: 502 Bad Gateway?!

    Uninstall your current version, and replace it with this version:
    Download XAMPP from SourceForge.net

  11. #11
    Sorcerer Supreme Dokotrs is offline
    Member +Rank
    Nov 2011 Join Date
    345Posts

    Re: 502 Bad Gateway?!

    Quote Originally Posted by Wallop View Post
    v3.1.0 :P
    What..? O.0

    Sent from my GT-I8160 using Tapatalk 2

  12. #12
    Member Wallop is offline
    MemberRank
    May 2013 Join Date
    49Posts

    Re: 502 Bad Gateway?!

    Okay, I did that, but my Apache or MySQL isn't starting at all -.-"

  13. #13
    Sorcerer Supreme Dokotrs is offline
    Member +Rank
    Nov 2011 Join Date
    345Posts

    Re: 502 Bad Gateway?!

    Quote Originally Posted by Wallop View Post
    Okay, I did that, but my Apache or MySQL isn't starting at all -.-"
    If you REMOVED not REINSTALLED old version, after restarting pc all need to work correctly.

    Sent from my GT-I8160 using Tapatalk 2



Advertisement