[Last Call] Learn how to a build a cloud-first strategyRegister Now


ProxyPass Problems  in Acpache

Posted on 2012-09-11
Medium Priority
Last Modified: 2012-12-14
I am trying to configure ProxyPass rules on Centos on Apache to port forward as per below. I need to have http forwarded to this system. rule is working fine without port, but when I tried to configure with Port it fails.

<VirtualHost *>
SuexecUserGroup "#1000" "#1000"
ServerName Apps_Name.com
ServerAlias www.Apps_Name.com
DocumentRoot /var/www/Apps_Name/
ErrorLog /var/log/httpd/taaray/error_log
CustomLog /var/log/httpd/Apps_Name/access_log "combined"
ScriptAlias /cgi-bin/ /var/www/Apps_Name/cgi-bin/
DirectoryIndex index.html index.htm index.php
<Directory /var/www/Apps_Name>
    FileETag MTime Size
    AllowOverride All
ProxyPass /Apps_Name/ http://XX.XX.XX.XX/Apps_Name

above is working fine

I am unable to configure Proxypass rule as per below because Apache not taking port no.

is there any other way to resolve this issue,
Question by:Nilesh Havire
1 Comment

Accepted Solution

morsun earned 2000 total points
ID: 38475438
Two things here,

If you have trailing slash in the first part you should add it in the second, and proxypassreverse is missing. Please try

ProxyPass /app/  http://localhost:8080/app1/
ProxyPassReverse /app/  http://localhost:/8080/app1/

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy. ┬áThis article also serves as your NTP server documentation.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question