Hello Graham, thanks, I have made the updates in this post. I also just 
watched your video at PyConAU 2010. I was trying to take note if anything 
could help me avoid the directory listing and the NOT FOUND pages. Thanks


<VirtualHost *:8787>
        #<Location /> 
        #Deny from all 
        #</Location>  
ServerAdmin test@localhost 

WSGIDaemonProcess sampleapp 
python-path=/var/www/sampleapp:/var/www/sampleapp/env/lib/python2.7/site-packages
WSGIProcessGroup sampleapp

WSGIScriptAlias / 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject/wsgi.py
<Directory 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject>
Order allow,deny
Allow from all
</Directory>

Alias /media/ 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject/media/
Alias /static/ 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject/static/
Alias /myapp/ 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject/myapp/

<Directory 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject/static/>
#Require all granted
         Order allow,deny
         Allow from all
</Directory>

<Directory 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject/media/>
#Require all granted
         Order allow,deny
         Allow from all
</Directory>

<Directory 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject/myapp/>
#Require all granted
         Order allow,deny
         Allow from all
</Directory>

<Directory 
/var/www/sampleapp/Java-auto-grader-edx/for_django_1-4/myproject/myproject>
<Files wsgi.py>
#Require all granted
        Order allow,deny
        Allow from all
</Files>
</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>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to