Commit b48f16d4d7bee02b0c6c01d039c4ae6fabe64280
1 parent
64341259
Exists in
master
and in
28 other branches
Document better the needed apache modules
Showing
1 changed file
with
19 additions
and
4 deletions
Show diff stats
INSTALL
| @@ -104,14 +104,29 @@ HACKING file instead. | @@ -104,14 +104,29 @@ HACKING file instead. | ||
| 104 | 104 | ||
| 105 | ./script/production restart | 105 | ./script/production restart |
| 106 | 106 | ||
| 107 | +* enable the following apache modules: | ||
| 108 | + | ||
| 109 | + deflate | ||
| 110 | + expires | ||
| 111 | + proxy | ||
| 112 | + proxy_balancer | ||
| 113 | + proxy_http | ||
| 114 | + rewrite | ||
| 115 | + | ||
| 116 | + On Debian GNU/Linux system, these modules can be enabled with the following | ||
| 117 | + command line, as root: | ||
| 118 | + | ||
| 119 | + a2enmod deflate expires proxy proxy_balancer proxy_http rewrite | ||
| 120 | + | ||
| 121 | + In other systems the way by which you enable apache modules may be different. | ||
| 122 | + | ||
| 107 | * Configure apache web server as a reverse proxy. You can use the template | 123 | * Configure apache web server as a reverse proxy. You can use the template |
| 108 | below, replacing /path/to/noosfero with the directory in which your noosfero | 124 | below, replacing /path/to/noosfero with the directory in which your noosfero |
| 109 | installation is, your.domain.com with the domain name of your noosfero site. | 125 | installation is, your.domain.com with the domain name of your noosfero site. |
| 110 | We are assuming that you are running two mongrel instances on ports 4000 and | 126 | We are assuming that you are running two mongrel instances on ports 4000 and |
| 111 | - 4001. If your setup is different you'll need to adjust <Proxy> section. Make | ||
| 112 | - sure you have the follwing apache modules enabled: deflate, expires, proxy, | ||
| 113 | - proxy_balancer, proxy_http, rewrite. If you don't understand something in the | ||
| 114 | - configuration, please refer to the apache documentation. | 127 | + 4001. If your setup is different you'll need to adjust <Proxy> section. If |
| 128 | + you don't understand something in the configuration, please refer to the | ||
| 129 | + apache documentation. | ||
| 115 | 130 | ||
| 116 | <VirtualHost *:80> | 131 | <VirtualHost *:80> |
| 117 | ServerName your.domain.com | 132 | ServerName your.domain.com |