Graham Dumpleton wrote: > On Jan 11, 8:50 am, Michael Hipp <[EMAIL PROTECTED]> wrote: >> Hello, >> >> My "main" Django site is working great. But on my shared hosting account >> (HostMonster) I have multiple sites. Some will be Django, some will be >> plain html. >> >> How do I set this up (specifically in settings.py, urls.py and .htaccess). >> >> I'm using FastCGI and a script for the main site. I only have access to >> .htaccess. >> >> Currently the html sub-pages work fine on the other sites, but not the >> main page. Apache logs this: >> >> [Thu Jan 10 14:37:21 2008] [error] [client 98.134.179.175] Request >> exceeded the limit of 10 internal redirects due to probable >> configuration error. Use 'LimitInternalRecursion' to increase the limit >> if necessary. Use 'LogLevel debug' to get a backtrace. >> >> Can someone help me get started down the right path on this? > > Looks like your rewrite rule for making a .fcgi script appear as being > mounted at root of site is not correct. Post your complete .htaccess > file showing all parts of the directives related to rewrite rule.
It's pretty much verbatim from the Django docs, but I don't know if such was intended for multi-site installations: AddHandler fcgid-script .fcgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ redmule.fcgi/$1 [QSA,PT,L] Thansk for any help, Michael --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---