Reverse Proxy questions - Error 503

Reverse Proxy questions - Error 503

am 27.08.2009 12:12:35 von UseTheFork

Hi,

I am a newbie to reverse proxy (and system administration in general) and I
am looking for pointers. I have an operational Apache 2.2 server accepting
requests on port 80. I also have an operational service listening to 8080 on
the server, but this port is blocked by a router. I have been advised to
set-up reverse proxy. I have read some documents and I get the overall idea,
but I am a bit stuck with configuration.

i) It seems like some modules (proxy_html_module...) have to be installed on
my Apache 2.2. Is there a command or instruction I can use to check whether
these modules are already installed?

ii) If these modules are not installed, should I enable them by adding some
LoadModule lines in httpd.conf and restart the webserver? Is that the right
way to proceed?

iii) I have been suggested to add something based on the following in my
httpd.conf:




ProxyPass /myserv ajp://localhost:8080/myserv
ProxyPassReverse /myserv ajp://localhost:8080/myserv




Is that the right way to proceed? Is the above enough?

iv) I have performed some simple tests, but I always get the following
message:

503 Service Temporarily Unavailable

The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.

What is causing the error? Apache or the service itself? The service is
running on Solaris and has status online.

Thanks,

UseTheFork
--
View this message in context: http://www.nabble.com/Reverse-Proxy-questions---Error-503-tp 25167504p25167504.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: Reverse Proxy questions - Error 503

am 27.08.2009 15:48:37 von Igor Cicimov

--000e0cd489b20f816004721fd30e
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

You need this line first

ProxyRequests Off

Igor

On Thu, Aug 27, 2009 at 8:12 PM, UseTheFork wrote:

>
> Hi,
>
> I am a newbie to reverse proxy (and system administration in general) and I
> am looking for pointers. I have an operational Apache 2.2 server accepting
> requests on port 80. I also have an operational service listening to 8080
> on
> the server, but this port is blocked by a router. I have been advised to
> set-up reverse proxy. I have read some documents and I get the overall
> idea,
> but I am a bit stuck with configuration.
>
> i) It seems like some modules (proxy_html_module...) have to be installed
> on
> my Apache 2.2. Is there a command or instruction I can use to check whether
> these modules are already installed?
>
> ii) If these modules are not installed, should I enable them by adding some
> LoadModule lines in httpd.conf and restart the webserver? Is that the right
> way to proceed?
>
> iii) I have been suggested to add something based on the following in my
> httpd.conf:
>
>
>
>
> ProxyPass /myserv ajp://localhost:8080/myserv
> ProxyPassReverse /myserv ajp://localhost:8080/myserv
>
>

>

>
> Is that the right way to proceed? Is the above enough?
>
> iv) I have performed some simple tests, but I always get the following
> message:
>
> 503 Service Temporarily Unavailable
>
> The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later.
>
> What is causing the error? Apache or the service itself? The service is
> running on Solaris and has status online.
>
> Thanks,
>
> UseTheFork
> --
> View this message in context:
> http://www.nabble.com/Reverse-Proxy-questions---Error-503-tp 25167504p25167504.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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
>
>

--000e0cd489b20f816004721fd30e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

You need this line first

ProxyRequests Off

Igor<=
br>

On Thu, Aug 27, 2009 at 8:12 PM, UseTheFo=
rk <jverstry@gma=
il.com
>
wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi,



I am a newbie to reverse proxy (and system administration in general) and I=


am looking for pointers. I have an operational Apache 2.2 server accepting<=
br>
requests on port 80. I also have an operational service listening to 8080 o=
n

the server, but this port is blocked by a router. I have been advised to >
set-up reverse proxy. I have read some documents and I get the overall idea=
,

but I am a bit stuck with configuration.



i) It seems like some modules (proxy_html_module...) have to be installed o=
n

my Apache 2.2. Is there a command or instruction I can use to check whether=


these modules are already installed?



ii) If these modules are not installed, should I enable them by adding some=


LoadModule lines in httpd.conf and restart the webserver? Is that the right=


way to proceed?



iii) I have been suggested to add something based on the following in my >
httpd.conf:



<IfModule proxy_module>

=A0<IfModule proxy_ajp_module>



=A0 ProxyPass /myserv ajp://localhost:8080/myserv

=A0 ProxyPassReverse /myserv ajp://localhost:8080/myserv



=A0</IfModule>

</IfModule>



Is that the right way to proceed? Is the above enough?



iv) I have performed some simple tests, but I always get the following

message:



=A0503 Service Temporarily Unavailable



=A0The server is temporarily unable to service your request due to

maintenance downtime or capacity problems. Please try again later.



What is causing the error? Apache or the service itself? The service is

running on Solaris and has status online.



Thanks,



UseTheFork

--

View this message in context: y-questions---Error-503-tp25167504p25167504.html" target=3D"_blank">http://=
www.nabble.com/Reverse-Proxy-questions---Error-503-tp2516750 4p25167504.html=



Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com=
..





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--000e0cd489b20f816004721fd30e--