Mercurial > kallithea
comparison docs/setup.rst @ 1252:c8974135732a rhodecode-0.0.1.1.8
docs, and changelog update
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 12 Apr 2011 23:51:04 +0200 |
parents | 2182a2005278 |
children | 0e0fb228867b |
comparison
equal
deleted
inserted
replaced
1250:cc4251628675 | 1252:c8974135732a |
---|---|
326 prefix = /<someprefix> | 326 prefix = /<someprefix> |
327 | 327 |
328 | 328 |
329 then change <someprefix> into your choosen prefix | 329 then change <someprefix> into your choosen prefix |
330 | 330 |
331 Apache's example FCGI config | 331 Apache's example WSGI+SSL config |
332 ---------------------------- | 332 -------------------------------- |
333 | 333 |
334 TODO ! | 334 virtual host example:: |
335 | |
336 <VirtualHost *:443> | |
337 ServerName hg.domain.eu:443 | |
338 DocumentRoot /var/www | |
339 | |
340 SSLEngine on | |
341 SSLCertificateFile /etc/apache2/ssl/hg.domain.eu.cert | |
342 SSLCertificateKeyFile /etc/apache2/ssl/hg.domain.eu.key | |
343 SSLCertificateChainFile /etc/apache2/ssl/ca.cert | |
344 SetEnv HTTP_X_URL_SCHEME https | |
345 | |
346 Alias /css /home/web/virtualenvs/hg/lib/python2.6/site-packages/rhodecode/public/css | |
347 Alias /images /home/web/virtualenvs/hg/lib/python2.6/site-packages/rhodecode/public/images | |
348 Alias /js /home/web/virtualenvs/hg/lib/python2.6/site-packages/rhodecode/public/js | |
349 | |
350 WSGIDaemonProcess hg user=web group=web processes=1 threads=10 display-name=%{GROUP} python-path=/home/web/virtualenvs/hg/lib/python2.6/site-packages | |
351 | |
352 WSGIPassAuthorization On | |
353 WSGIProcessGroup hg | |
354 WSGIApplicationGroup hg | |
355 WSGIScriptAlias / /home/web/apache/conf/hg.wsgi | |
356 | |
357 <Directory /home/web/apache/conf> | |
358 Order deny,allow | |
359 Allow from all | |
360 </Directory> | |
361 <Directory /var/www> | |
362 Order deny,allow | |
363 Allow from all | |
364 </Directory> | |
365 | |
366 </VirtualHost> | |
367 | |
368 <VirtualHost *:80> | |
369 ServerName hg.domain.eu | |
370 Redirect permanent / https://hg.domain.eu/ | |
371 </VirtualHost> | |
372 | |
373 | |
374 HG.WSGI:: | |
375 | |
376 import os | |
377 os.environ["HGENCODING"] = "UTF-8" | |
378 | |
379 from paste.deploy import loadapp | |
380 from paste.script.util.logging_config import fileConfig | |
381 | |
382 fileConfig('/home/web/virtualenvs/hg/config/production.ini') | |
383 application = loadapp('config:/home/web/virtualenvs/hg/config/production.ini' | |
384 | |
335 | 385 |
336 Other configuration files | 386 Other configuration files |
337 ------------------------- | 387 ------------------------- |
338 | 388 |
339 Some example init.d scripts can be found here, for debian and gentoo: | 389 Some example init.d scripts can be found here, for debian and gentoo: |