Running Multiple Sites/Apps with FastCGI... Where to start?

2007-01-04 Thread Tom Smith


I'm having trouble on deciding where to start with this problem. I  
only have one port to use on TextDrive.



I have .co.uk site running using Django (under FastCGI). I want to  
duplicate the site and change the content for the .com US version,  
making modifications to the model/code/templates along the way... Do  
I ...


duplicate my app folder and add the new folder to INSTALLED_APPS
and then add another $HTTP["host"] bit to my lighttpd.conf file
add a django-fcgi.py file to the .com web folder

???

Or have I got this all upside down?

Thanks

tom

 


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



Re: Running Multiple Sites/Apps with FastCGI... Where to start?

2007-01-04 Thread kwe


Tom,

We run a number of sites using lighttpd and django off one code base.
Yes, each site needs an entry in lighttpd.conf and each site has it's
own settings file. Obviously you can set settings to allow each
instance to have different templates or different installed apps.

http://bus.glam.ac.uk/ and http://news.glam.ac.uk/ are examples. They
both share roughly the same core code, but use different templates and
some additional apps.

regards
Kevin


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