This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
start:howto:navigationproxy [2013/01/08 11:15] aseques |
start:howto:navigationproxy [2013/04/03 12:43] aseques |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Configure i-mscp to navigate behind a proxy ====== | ====== Configure i-mscp to navigate behind a proxy ====== | ||
- | When connecting to the outside there's one can use proxy server to avoid part of the risk of being infected by using a list of trusted sites where you are connecting. | + | When connecting to the outside one can use proxy server to avoid part of the risk of being infected by using a list of trusted sites where you are connecting, in that case even if a website is infected, it won't be able to download the infection kit. |
- | On a server that has to be configured in serveral places, here are the places where you will have to configure the navigation proxy in order for it to work. | + | On a server that stuff has to be configured in serveral places so i-mscp can use it, here are the places where you will have to configure the navigation proxy in order for it to work. |
Line 11: | Line 11: | ||
- | ==== Curl ==== | + | ==== I-mscp engine ==== |
The perl engine of i-mscp installer relies on curl to download the information from the internet. | The perl engine of i-mscp installer relies on curl to download the information from the internet. | ||
Line 17: | Line 17: | ||
proxy = http://user:[email protected]:3128 | proxy = http://user:[email protected]:3128 | ||
- | ==== Software packages ==== | + | This is used to retrieve all the imscp addons (core components not directly developed bv i-mscp team) such as roundcube, phpmyadmin or ajaxplorer. More info [[http://forum.i-mscp.net/Thread-INFO-Enhancement-i-MSCP-tools-are-now-available-on-packagist-org|here]] |
- | They are downloaded currently via file_get_contents(), using a proxy is more complex with this option. | + | ==== Environment variables ==== |
- | ==== Others (tools, etc..) ==== | + | The variable http_proxy needs to be exported so composer can download the packages (see [[http://getcomposer.org/doc/03-cli.md#http-proxy-or-http-proxy|here]]) |
+ | You can either set the variables prior installing/upgrading i-mspcp | ||
+ | http_proxy = http://user:[email protected]:3128 | ||
+ | https_proxy = http://user:password@proxy.example.com:3128 | ||
+ | Or add those same lines at the end of .bashrc (so the proxy will be enabled every time you log in) | ||
+ | |||
+ | |||
+ | ==== Software packages ==== | ||
- | In the current versions the external tools, such as roundcube or phpmyadmin have been separated into different repositories for easier manteinance. | + | They are downloaded currently via file_get_contents(), using a proxy is more complex with this option, the approach in that case should be something like [[http://stackoverflow.com/questions/1336262/file-get-contents-behind-a-proxy|this]] |
- | They are downloaded when FIXME | + | Still it's not strictly necessary for the standard install. |