Apache can act as a proxy server with installation of mod_proxy module
It connects one apache to web servers or application servers
Simple Configuration enabling apache act as reverse proxy
1 .vi /etc/hosts ( we have to define target address in hosts file)
192.168.1.2 www.urname.com (This can be a application server or websever)
2. vim /etc/httpd/conf/httpd.conf ( Redhat/Fedora)
ProxyPass / http://192.168.1.2:80
ProxyPassReverse / http://192.168.1.2:80
Restart httpd service in apache
Check the config by typing the web site name .
Subscribe to:
Post Comments (Atom)
curl and cacert
curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST
-
Here i have created a script for starting and stopping tomcat service named it as ts and placed it on /etc/init.d in order to make this scr...
-
Command to Run setcap 'cap_net_bind_service=+ep' /opt/apache/bin/httpd httpd is the custom script i made to run apache.
-
Comparing openssl key/csr/crt is useful to make sure signature between key/csr/crt are same openssl x509 -noout -modulus -in certificat...
No comments:
Post a Comment