~ubuntu-us-ma/us-ma-loco-site/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<VirtualHost *>
    ServerAdmin %%admin_email%%
    ServerName ubuntu-ma.us
	DocumentRoot /var/www/ubuntu-ma.us/

	<Location "/">
		SetHandler python-program
		PythonHandler django.core.handlers.modpython
		SetEnv DJANGO_SETTINGS_MODULE UbuntuMaWebsite.settings
		PythonDebug On
		PythonPath "['/var/www/ubuntu-ma.us/'] + sys.path"
	</Location>

    <Location "/media">
		Options -Indexes -FollowSymLinks -MultiViews
		SetHandler None
    </Location>

    ErrorLog /var/www/ubuntu-ma.us/logs/error.log
	CustomLog /var/www/ubuntu-ma.us/logs/access.log combined

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel error
    ServerSignature On

</VirtualHost>