Bug 190708 - ProxyPass not configured correctly on satellite
ProxyPass not configured correctly on satellite
Status: CLOSED CURRENTRELEASE
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Web Site (Show other bugs)
rhn410
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jesus M. Rodriguez
Vlady Zlatkin
:
Depends On:
Blocks: 169454
  Show dependency treegraph
 
Reported: 2006-05-04 12:40 EDT by Mike McCune
Modified: 2007-04-18 13:42 EDT (History)
1 user (show)

See Also:
Fixed In Version: rhn410
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-19 14:44:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike McCune 2006-05-04 12:40:43 EDT
When trying to bring up apache on a -74 build of the satellite:

Starting httpd: Syntax error on line 43 of /etc/httpd/conf/rhnweb.conf:
Invalid command 'ProxyPass', perhaps mis-spelled or defined by a module not
included in the server configuration

Comes from this line:

ProxyPass /rpc/api http://localhost/rhn/rpc/api
Comment 1 Jesus M. Rodriguez 2006-05-04 13:40:48 EDT
Changed it to a rewrite rule:
RewriteRule /rpc/api /rhn/rpc/api [PT]
Comment 2 Vlady Zlatkin 2006-06-19 13:48:14 EDT
Please add a testplan.
Comment 3 Jesus M. Rodriguez 2006-06-20 15:17:17 EDT
TEST PLAN
----------
1) install a satellite
2) browse to satellite/rpc/api/ - verify you see the API documentation
3) on the satellite machine run the following:

   grep ProxyPass /etc/httpd/conf/rhnweb.conf | wc -l

   it will return 0

4) alson on the satellite very the following:

   grep RewriteRule /etc/httpd/conf/rhnweb.conf | grep api | wc -l

   it will return 1

5) restart httpd on the satellite box, the error mentioned
   in Comment #1 should not appear.
Comment 4 Vlady Zlatkin 2006-06-20 16:01:32 EDT
verified on -112 iso
Comment 5 Beth Nackashi 2006-07-19 14:44:23 EDT
moving to closed - currentrelease

Note You need to log in before you can comment on or make changes to this bug.