Mercurial > kallithea
comparison docs/setup.rst @ 926:344f74851781 rhodecode-0.0.1.1.1
fixed docs
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 06 Jan 2011 20:12:13 +0100 |
parents | 136af52f374b |
children | c165349fdd0e |
comparison
equal
deleted
inserted
replaced
925:15e0fb9795da | 926:344f74851781 |
---|---|
224 Apache virtual host example | 224 Apache virtual host example |
225 --------------------------- | 225 --------------------------- |
226 | 226 |
227 Sample config for apache using proxy:: | 227 Sample config for apache using proxy:: |
228 | 228 |
229 <VirtualHost *:80> | 229 <VirtualHost *:80> |
230 ServerName hg.myserver.com | 230 ServerName hg.myserver.com |
231 ServerAlias hg.myserver.com | 231 ServerAlias hg.myserver.com |
232 | 232 |
233 <Proxy *> | 233 <Proxy *> |
234 Order allow,deny | 234 Order allow,deny |
235 Allow from all | 235 Allow from all |
236 </Proxy> | 236 </Proxy> |
237 | 237 |
238 #important ! | 238 #important ! |
239 #Directive to properly generate url (clone url) for pylons | 239 #Directive to properly generate url (clone url) for pylons |
240 ProxyPreserveHost On | 240 ProxyPreserveHost On |
241 | 241 |
242 #rhodecode instance | 242 #rhodecode instance |
243 ProxyPass / http://127.0.0.1:5000/ | 243 ProxyPass / http://127.0.0.1:5000/ |
244 ProxyPassReverse / http://127.0.0.1:5000/ | 244 ProxyPassReverse / http://127.0.0.1:5000/ |
245 | 245 |
246 #to enable https use line below | 246 #to enable https use line below |
247 #SetEnvIf X-Url-Scheme https HTTPS=1 | 247 #SetEnvIf X-Url-Scheme https HTTPS=1 |
248 | 248 |
249 </VirtualHost> | 249 </VirtualHost> |
250 | 250 |
251 | 251 |
252 Additional tutorial | 252 Additional tutorial |
253 http://wiki.pylonshq.com/display/pylonscookbook/Apache+as+a+reverse+proxy+for+Pylons | 253 http://wiki.pylonshq.com/display/pylonscookbook/Apache+as+a+reverse+proxy+for+Pylons |
254 | 254 |