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
-
Command to Run setcap 'cap_net_bind_service=+ep' /opt/apache/bin/httpd httpd is the custom script i made to run apache.
-
This is mainly for system that is not connected to internet directly , all you have to do is search for below rpm's download it to your...
-
If u have internet connection its very easy. Open an mp3 with mplayer it will ask you to download a codec for mp3 as well as for videos . Bu...
No comments:
Post a Comment