hi all is it possible to serve static files from the root of a domain name? these files would either be served by apache or runserver from the static directory as defined in the settings.
my goal is to use some static files for the main entrance to a web site and have several django apps, all within the same django project and under the same domain name. http://mysite.com/ --> static/index.html (NOT a template) http://mysite.com/myapp1 --> myapp1/index.html (a template) http://mysite.com/myapp2 --> myapp2/index.html (a template) thanks for your help kind regards André btw is there anything special to consider wrt to hosting this at webfaction? i have already set up serving of static content via apache through a symlink, there. the non-functional code (raises "TemplateDoesNotExist at /static/index.html" in views): urls.py urlpatterns = patterns('myproject.views', (r'^$', 'home') views.py def home(request): return render_to_response('static/index.html') maybe use something like return HttpResponse('/static/index.html') but how? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---