I am proxying my Django app behind Apache.  I created a 404.html in my
template directory but when I try to test it I get the following error
that appears to come from Apache...

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, [no address given] and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error
log.
Apache/2.2.16 (Ubuntu) Server at phil4.com Port 80

Here is the relevant Apache settings...

NameVirtualHost      72.14.188.15:80
NameVirtualHost      72.14.188.15:443
WSGIRestrictEmbedded On

<VirtualHost 72.14.188.15:80>
#
=============================================================================
ServerName              phil4.com
ServerAlias             www.phil4.com
DocumentRoot            /var/www
Options                 Indexes FollowSymLinks
#
=============================================================================
WSGIProcessGroup        phil4.com
WSGIScriptAlias         / /etc/apache2/wsgi/phil4.com.wsgi
WSGIDaemonProcess       phil4.com user=seb group=seb threads=25
#
=============================================================================
<Directory /home/seb/MAIN/phil4/apache>
        Order Allow,Deny
        Allow from All
</Directory>
#
=============================================================================
Alias /favicon.ico /var/www/static/images/favicon.ico
Alias /base.css    /var/www/static/base.css
Alias /static      /var/www/static
Alias /public      /var/www/static/public
Alias /misc        /var/www/static/misc
Alias /images      /var/www/static/images
Alias /books/      /var/www/static/books/
Alias /homework/   /var/www/static/homework/
Alias /exams/      /var/www/static/exams/
#
=============================================================================
Redirect /sign_in  https://phil4.com/sign_in
Redirect /register https://phil4.com/register
#
=============================================================================
</VirtualHost>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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