Mercurial > kallithea
comparison docs/setup.rst @ 929:c44b3c9b9f7f beta
doc fix
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 06 Jan 2011 21:07:33 +0100 |
parents | 8378122aa408 |
children | 442ccfe939d0 |
comparison
equal
deleted
inserted
replaced
928:218128a7d45c | 929:c44b3c9b9f7f |
---|---|
254 Apache virtual host example | 254 Apache virtual host example |
255 --------------------------- | 255 --------------------------- |
256 | 256 |
257 Sample config for apache using proxy:: | 257 Sample config for apache using proxy:: |
258 | 258 |
259 <VirtualHost *:80> | 259 <VirtualHost *:80> |
260 ServerName hg.myserver.com | 260 ServerName hg.myserver.com |
261 ServerAlias hg.myserver.com | 261 ServerAlias hg.myserver.com |
262 | 262 |
263 <Proxy *> | 263 <Proxy *> |
264 Order allow,deny | 264 Order allow,deny |
265 Allow from all | 265 Allow from all |
266 </Proxy> | 266 </Proxy> |
267 | 267 |
268 #important ! | 268 #important ! |
269 #Directive to properly generate url (clone url) for pylons | 269 #Directive to properly generate url (clone url) for pylons |
270 ProxyPreserveHost On | 270 ProxyPreserveHost On |
271 | 271 |
272 #rhodecode instance | 272 #rhodecode instance |
273 ProxyPass / http://127.0.0.1:5000/ | 273 ProxyPass / http://127.0.0.1:5000/ |
274 ProxyPassReverse / http://127.0.0.1:5000/ | 274 ProxyPassReverse / http://127.0.0.1:5000/ |
275 | 275 |
276 #to enable https use line below | 276 #to enable https use line below |
277 #SetEnvIf X-Url-Scheme https HTTPS=1 | 277 #SetEnvIf X-Url-Scheme https HTTPS=1 |
278 | 278 |
279 </VirtualHost> | 279 </VirtualHost> |
280 | 280 |
281 | 281 |
282 Additional tutorial | 282 Additional tutorial |
283 http://wiki.pylonshq.com/display/pylonscookbook/Apache+as+a+reverse+proxy+for+Pylons | 283 http://wiki.pylonshq.com/display/pylonscookbook/Apache+as+a+reverse+proxy+for+Pylons |
284 | 284 |