No need to do it in Dkango --- you should add more rewrite rules in .htaccess (see http://wiki.dreamhost.com/index.php/Django for details):
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR] RewriteCond %{REQUEST_URI} ^/failed_auth.html$ RewriteRule ^.*$ - [L] It will take care of /stats URL. If you use some additional stat package like Advanced Web Statistics, you can add it too (assuming it is installed in /aw66): RewriteRule ^(aw66/[a-zA-Z\-]+/.*)$ - [L] Thanks, Eugene chasfs wrote: > I've brought up Django on my Dreamhost account to run a survey > application (http://surveys.zdecisions.com). The problem is that > Dreamhost has a statistics package that shows up in domain/stats, > (e.g. surveys.zdecisions.com/stats) but Django gets all of the urls > and doesn't know what to do with stats. Has anyone run into this? Is > there anyway to configure Django to redirect a url to an off-Django > url from the urls.py file? Or do I need to create a view to do this? > Thanks! > -chasfs > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---