You are here

intranet

Use Case : Suppose you have a intranet website which is used for organization and you would like to upgrade that website and its module to latest version. For this you would need to use a proxy server.

A proxy server is a computer(server) which will raise the request to Drupal and act as an intermediate between your actual Drupal server and drupal.org.
So possible scenario is like this:

1) First you need to add a rule in your proxy server that it can connect to Drupal.org.

2) Then you need to configure your Drupal website in a way that it sends the request to that proxy server.

For point 1) ask your system administrator or server guy to do it.

After configuring point 1) you make sure that its working. To do this quickly, use command line to test if you can connect to this proxy server or not. If you get response on command line then we will go ahead and configure Drupal to connect with this proxy.

Why you install this module is because it supports the requests over "https protocol". Enable it and open your settings.php file from /sites/default/settings.php

You already have below lines in your settings.php file:

/**
* External access proxy settings:
*
* If your site must access the Internet via a web proxy then you can enter
* the proxy settings here. Currently only basic authentication is supported
* by using the username and password variables. The proxy_user_agent variable
* can be set to NULL for proxies that require no User-Agent header or to a
* non-empty string for proxies that limit requests to a specific agent. The
* proxy_exceptions variable is an array of host names to be accessed directly,
* not via proxy.
*/
# $conf['proxy_server'] = '';
# $conf['proxy_port'] = 8080;
# $conf['proxy_username'] = '';
# $conf['proxy_password'] = '';
# $conf['proxy_user_agent'] = '';
# $conf['proxy_exceptions'] = array('127.0.0.1', 'localhost');

The above lines tell Drupal that use same proxy configuration for HTTP and HTTPS.

Now clear your website cache by using admin panel or drush cc all

Then go to /admin/reports/updates/update module update page and click on "check manually" . This time it tries to connect with your proxy to get updates from drupal.org.

If you dont get the results try refresh page and click on "check manually" again.

You can now also configure for weekly or monthly newsletter of Drupal /admin/reports/updates/settings whenever there is an update.
Because you connected your website to drupal.org this will work as well.