Dennis Kaarsemaker wrote:
> On ma, 2007-07-02 at 12:49 -0500, Carl Karsten wrote:
>> how do I set a default anything for when a user hits http://foo.com they get 
>> index.html or any other file?  I can see having a static file that does a 
>> redirect - wondering if there isn't a better way.
> 
> If your root is served by django, 

> you use apach: try Mod_Rewrite.
> 

yeah, for the dev server.

 > put it in your urlconf.

Put what?
I currently have

      (r'^(?P<path>.*)$', 'django.views.static.serve', 
{'document_root':'/home/carl/django/ridgemoor', 'show_indexes':True} ),

which gives me a index.html link I can click on - trying to skip that step.

Carl K

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to