- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Apache HTTP.conf Set up
Operating System - Linux
1748351
Members
4764
Online
108762
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 07:03 AM
тАО07-03-2009 07:03 AM
Apache HTTP.conf Set up
I have just installed Apache 2.0.61 on my Red Hat 4.0 server.
I have edited my httpd.conf in an attempt to allow a ProxyPass:
ProxyRequests On
Order deny,allow
Allow from all
ProxyPass /SA http://ni-cr-dev-vm3.pharms-services.com:7782/SampleAnnotationOQ
ProxyPassReverse /SA http://ni-cr-dev-vm3.pharms-services.com:7782/SampleAnnotationOQ
When I attempt to start apache I get the following:
[root@ni-cr-svc-rp2 bin]# ./apachectl start
Syntax error on line 1043 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'ProxyPass', perhaps mis-spelled or defined by a module not included in the server configuration
I have edited my httpd.conf in an attempt to allow a ProxyPass:
ProxyRequests On
Order deny,allow
Allow from all
ProxyPass /SA http://ni-cr-dev-vm3.pharms-services.com:7782/SampleAnnotationOQ
ProxyPassReverse /SA http://ni-cr-dev-vm3.pharms-services.com:7782/SampleAnnotationOQ
When I attempt to start apache I get the following:
[root@ni-cr-svc-rp2 bin]# ./apachectl start
Syntax error on line 1043 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'ProxyPass', perhaps mis-spelled or defined by a module not included in the server configuration
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 07:39 AM
тАО07-03-2009 07:39 AM
Re: Apache HTTP.conf Set up
Shalom,
Interesting documents come to mind.
http://www.kallasoft.com/using-apache-virtual-hosts-and-proxypass-together/
http://community.thoughtworks.com/posts/1954e8961c/comments
SEP
Interesting documents come to mind.
http://www.kallasoft.com/using-apache-virtual-hosts-and-proxypass-together/
http://community.thoughtworks.com/posts/1954e8961c/comments
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 07:51 AM
тАО07-03-2009 07:51 AM
Re: Apache HTTP.conf Set up
Thanks for the articles - but it appears that I have set it up correctly (or at least the same as in the links). It just appears that it does not recognise the ProxyPass command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 11:54 PM
тАО07-03-2009 11:54 PM
Re: Apache HTTP.conf Set up
You have ProxyRequests set to On and access control set to allow everything. This would make your server an "open proxy", which is a dangerous configuration if exposed to the public Internet.
Because the proxy module has security implications, it is usually disabled by default in all modern Linux distributions. Misconfigured proxies can be harmful for both you and other people on the Internet.
Please read:
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#access
Have you enabled the proxy module earlier in the configuration (i.e. uncommented "LoadModule" line(s) referring to the proxy module)?
MK
Because the proxy module has security implications, it is usually disabled by default in all modern Linux distributions. Misconfigured proxies can be harmful for both you and other people on the Internet.
Please read:
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#access
Have you enabled the proxy module earlier in the configuration (i.e. uncommented "LoadModule" line(s) referring to the proxy module)?
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP