Category: http

  • Setting up subversion over ssl and nginx on debian

    Subversion supports DAV protocol access only with Apache server. To get it running with nginx, apache has to be installed on the same system. To start, install apache and svn support apt-get install apache2 libapache2-svn For apache and nginx web servers to coexist on the same computer and running at the same time, they would […]

  • Apache configuration for pylons

    Recently some of our pylons servers experienced mysql overflow. Pylons app is served via apache 2.2 using worker mpm on gentoo with kernel 3.2. It uses sqlalchemy to access mysql server. The pylons error is: >> self.pool.connect(), Module sqlalchemy.pool:210 in connect >> return _ConnectionFairy(self).checkout() Module sqlalchemy.pool:371 in __init__ >> rec = self._connection_record = pool._do_get() Module […]

  • Awstats & virtual hosts

    Gentoo has finaly moved away from webapp-config and simplified updating awstats. The example of apache config file setting awstats for apache virtual hosts runnig wsgi application is given bellow. Prerequisites are apache proxy for wsgi app, and awstats visible at www.some_domain.com/awstats.pl using authentication. <VirtualHost *:80> ServerName www.some_domain.com Serveralias some_domain.com ServerAdmin admin@some_domain.com ErrorLog /var/log/apache2/www.some_domain.com-error.log CustomLog /var/log/apache2/www.some_domain.com-access.log […]