<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www
        <Directory /var/www>
                AddHandler mod_python .py
                PythonHandler upload
                PythonDebug on
                DirectoryIndex upload.py
                # Don't allow requests greater than 10 MB
                LimitRequestBody 10485760
        </Directory>
        ErrorLog /var/log/apache2/error.log

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

        CustomLog /var/log/apache2/access.log combined

</VirtualHost>

