All pastes #566245 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-14 11:48 UTC
rendered paste body
NameVirtualHost *:80
<VirtualHost *:80>
	ServerAdmin johnsoncls@gmail.com
	ServerName djangoproject.web
	ServerAlias www.djangoproject.web
	DocumentRoot /var/www/djangoproject
#
	
	<Directory /var/www/djangoproject>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all

	</Directory>


    Alias /media "/usr/lib/python2.4/site-packages/django/contrib/admin/media"
    Alias /smedia "/home/johnson/helpline/media"
    Alias /sitemedia "/home/johnson/helpline/helpline/sitemedia"

   <Directory /home/johnson/helpline/helpline/sitemedia>
      Order deny,allow
      Allow from all
    </Directory>

    <Directory /home/johnson/helpline/media>
      Order deny,allow
      Allow from all
    </Directory>

  <Directory /usr/lib/python2.4/site-packages/django/contrib/admin/media>
      Order deny,allow
      Allow from all
    </Directory>

    <Location /web>
      SetHandler mod_python
      PythonHandler django.core.handlers.modpython
      SetEnv DJANGO_SETTINGS_MODULE helpline.settings
      PythonPath "['/home/johnson/helpline/helpline'] + sys.path"
      PythonInterpreter helpline
      PythonDebug On
    </Location>
</VirtualHost>