Code Snippet

Just another Code Snippet site

[How-To] HTTPD & Apache

Install HTTPD

yum install httpd

Check Proxy mod is installed/enabled :

vi /etc/httpd/conf/httpd.conf

and look for “proxy_balancer” module

To add a reverse proxy settings, create a new .conf file un /etc/httpd/conf.d/ like :

<Location "/artifactory">
    ProxyPass http://myhost:8081/artifactory
    ProxyPassReverse http://myhost:8081/artifactory
</Location>

In case of error like :

Permission denied: proxy: HTTP: attempt to connect to

You must disable SELinux :

vi /etc/selinux/config

=> SELINUX=disabled

, ,


13 thoughts on “[How-To] HTTPD & Apache

Leave a Reply

Your email address will not be published. Required fields are marked *