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

x
?
Solved

ProxyPass Problems  in Acpache

Posted on 2012-09-11
1
Medium Priority
?
457 Views
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>
<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
</Directory>
ProxyPass /Apps_Name/ http://XX.XX.XX.XX/Apps_Name
</virtualhost>

above is working fine

I am unable to configure Proxypass rule as per below because Apache not taking port no.
http://LAN_IP:8080/Apps_Name

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

Accepted Solution

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

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