You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sean McKendall <se...@yahoo.com> on 2005/10/10 21:22:46 UTC

Re: [users@httpd] 502 Bad Gateway

I resolved this by editing my hosts file and changing the line "127.0.0.1 
localhost" to "127.0.0.1  www.mydomain.com".

It works, but I'm not sure why and I don't know if it's really the right 
thing to do.

    - Sean

----- Original Message ----- 
From: "Sean McKendall" <se...@yahoo.com>
To: <us...@httpd.apache.org>; <js...@gmail.com>
Sent: Tuesday, September 20, 2005 11:07 AM
Subject: Re: [users@httpd] 502 Bad Gateway


I'm not entirely certain if it is or how to check.  I guess I can start
there.

----- Original Message ----- 
From: "Joshua Slive" <js...@gmail.com>
To: "Sean McKendall" <se...@yahoo.com>; "Apache Users"
<us...@httpd.apache.org>
Sent: Tuesday, September 20, 2005 10:39 AM
Subject: Re: [users@httpd] 502 Bad Gateway


On 9/20/05, Sean McKendall <se...@yahoo.com> wrote:
> After setting RewriteLogDirective to 3...
> [www.mydomain.com/sid#23bbf0][rid#5867f0/initial] (1) go-ahead with proxy
> request proxy:http://www.mydomain.com:81/database.nsf [OK]

Are you sure that your server on port 81 is listening on the loopback
interface and not solely on the external interface?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] 502 Bad Gateway

Posted by Sean McKendall <se...@yahoo.com>.
Would anyone be able to tell me why this works?  I understand how my hosts 
file functions, but I don't understand why I needed to make this change for 
Apache to work.

    - Sean

----- Original Message ----- 
From: "Sean McKendall" <se...@yahoo.com>
To: <js...@gmail.com>
Cc: <us...@httpd.apache.org>
Sent: Monday, October 10, 2005 2:22 PM
Subject: Re: [users@httpd] 502 Bad Gateway


I resolved this by editing my hosts file and changing the line "127.0.0.1
localhost" to "127.0.0.1  www.mydomain.com".

It works, but I'm not sure why and I don't know if it's really the right
thing to do.

    - Sean

----- Original Message ----- 
From: "Sean McKendall" <se...@yahoo.com>
To: <us...@httpd.apache.org>; <js...@gmail.com>
Sent: Tuesday, September 20, 2005 11:07 AM
Subject: Re: [users@httpd] 502 Bad Gateway


I'm not entirely certain if it is or how to check.  I guess I can start
there.

----- Original Message ----- 
From: "Joshua Slive" <js...@gmail.com>
To: "Sean McKendall" <se...@yahoo.com>; "Apache Users"
<us...@httpd.apache.org>
Sent: Tuesday, September 20, 2005 10:39 AM
Subject: Re: [users@httpd] 502 Bad Gateway


On 9/20/05, Sean McKendall <se...@yahoo.com> wrote:
> After setting RewriteLogDirective to 3...
> [www.mydomain.com/sid#23bbf0][rid#5867f0/initial] (1) go-ahead with proxy
> request proxy:http://www.mydomain.com:81/database.nsf [OK]

Are you sure that your server on port 81 is listening on the loopback
interface and not solely on the external interface?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org