I am a dip**it. I tried to move to mod_wsgi and dusted my website, can
anybody help me figure out what I've done.
NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.teachingbystandards.com
ServerAlias teachingbystandards.com

WSGIScriptAlias / /Library/WebServer/Documents/ess/apache/
ess_wsgi.wsgi
WSGIDaemonProcess teachingbystandards.com maximum-requests=2000
threads=10
WSGIProcessGroup teachingbystandards.com

Alias /media/ /Library/WebServer/Documents/ess/media/

<Directory /Library/WebServer/Documents/ess/media>
        Order allow,deny
        Allow from all
        IndexOptions FancyIndexing
</Directory>

Alias /media_files/ /Library/WebServer/Documents/ess/media_files/

<Directory "/Library/WebServer/Documents/ess/media_files">
Order allow,deny
Allow from all
IndexOptions FancyIndexing
</Directory>

<Directory "/Library/WebServer/Documents/ess/apache">
Order allow,deny
Allow from all
</Directory>

</VirtualHost>

from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import *
import registration

admin.autodiscover()

urlpatterns = patterns('',
    (r'^student/', include('ess.student.urls')),
    (r'^accounts/login/$', 'django.contrib.auth.views.login'),
    (r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
    (r'^accounts/profile/$', 'ess.student.views.go_to_user_home'),
    (r'^student/Teacher/$', 'ess.student.views.go_to_user_home'),
    (r'^accounts/profile/new/$',
'ess.student.views.create_user_profile'),
    (r'^accounts/register/$', 'ess.student.views.register'),
        (r'^password_reset/$', 'django.contrib.auth.views.password_reset'),
    (r'^password_reset/done/$',
'django.contrib.auth.views.password_reset_done'),
    (r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
'django.contrib.auth.views.password_reset_confirm'),
    (r'^reset/done/$',
'django.contrib.auth.views.password_reset_complete'),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include('django.contrib.admin.urls')),
)
any help much appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to