All pastes #718949 Raw Edit

Untitled

public text v1 · immutable
#718949 ·published 2007-09-28 20:28 UTC
rendered paste body
ServerRoot "/home/sliderule/webapps/django/apache2"
LoadModule python_module /home/sliderule/webapps/django/apache2/modules/mod_python.so
LoadModule log_config_module /home/sliderule/webapps/django/apache2/modules/mod_log_config.so

ServerRoot "/home/sliderule/webapps/django/apache2"
LoadModule python_module /home/sliderule/webapps/django/apache2/modules/mod_python.so
LoadModule log_config_module /home/sliderule/webapps/django/apache2/modules/mod_log_config.so
LoadModule mime_module /home/sliderule/webapps/django/apache2/modules/mod_mime.so
LoadModule env_module /home/sliderule/webapps/django/apache2/modules/mod_env.so
Listen 2705
User sliderule
Group sliderule
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog /home/sliderule/webapps/django/apache2/logs/access.log combined
Errorlog /home/sliderule/webapps/django/apache2/logs/error.log
ServerLimit 2


NameVirtualHost 75.125.16.194
#DocumentRoot /home/bbloom/www

<VirtualHost 75.125.16.194>
    DocumentRoot /home/bbloom/www
    ServerAdmin admin@brandonbloom.name
    ServerName brandonbloom.name
    ServerAlias brandonbloom.name *.brandonbloom.name
    <Location "/">
        SetHandler none
    </Location>
</VirtualHost>

<VirtualHost 75.125.16.194>
    ServerName sliderule.webfactional.com
    ServerAlias *.sliderule.webfactional.com
    DocumentRoot /home/sliderule/webapps/django/myproject/media
    <Location "/">
        SetHandler python-program
        PythonHandler django.core.handlers.modpython
        SetEnv DJANGO_SETTINGS_MODULE myproject.settings
        PythonPath "['/home/sliderule/webapps/django'] + sys.path"
        PythonDebug On
    </Location>
    <Location "/media">
        SetHandler none
    </Location>
</VirtualHost>