I can ping that domain on the machine itself and it resolves to the correct IP address. ----- Original Message ----- From: "Joost de Heer" <sanguis@xxxxxxxxx> To: "Sean McKendall" <seanmckendall@xxxxxxxxx> Cc: <users@xxxxxxxxxxxxxxxx> Sent: Tuesday, September 20, 2005 9:04 AM Subject: [users@httpd] Re: 502 Bad Gateway > RewriteEngine on > RewriteRule ^(.*).nsf(.*) http://www.mydomain.com:81$1.nsf$2 [P] > > After the httpd.conf file is finally configured, I test things out. Going > to www.mydomain.com gives me a 502 Bad Gateway message. In the error.log > file, I see: > > [Tue Sep 20 07:00:14 2005] [error] (OS 10061)No connection could be made > because the target machine actively refused it. : proxy: HTTP: attempt to > connect to xxx.xxx.xxx.xxx:81 (www.mydomain.com) failed Does 'www.mydomain.com' resolve to the correct IP address on the machine with the webserver? Because you use the [P] flag, the request is done by the webserver, and not by the client. Joost --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx