Re: Reverse Proxy questions - Error 503

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You need this line first

ProxyRequests Off

Igor

On Thu, Aug 27, 2009 at 8:12 PM, UseTheFork <jverstry@xxxxxxxxx> 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:

<IfModule proxy_module>
 <IfModule proxy_ajp_module>

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

 </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:

 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-tp25167504p25167504.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 <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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux