Lukasz Szybalski schrieb:
> On Sun, Nov 9, 2008 at 7:38 AM, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
>> Lukasz Szybalski schrieb:
>>> Hello,
>>> In tg1 there was a static folder that you aliased in your apache 
>>> configuration.
>>> so at the end you got this setup:
>>> http://localhost:8080/static/images/logo.png
>>> http://localhost:8080/static/css/style.css
>>>
>>>
>>> I see that in tg2 there is no such folder.
>>>
>>> http://localhost:8080/images/logo.png
>>> http://localhost:8080/css/style.css
>>>
>>> Which configuration I need to change to add a prefix folder. I would
>>> like to get something like this:
>>> http://localhost:8080/public/images/logo.png
>>> http://localhost:8080/public/css/style.css
>>>
>>> What do I need to change?
>> AFAIK (haven't quickstarted a TG2-app in a while & different resource
>> handling anyway) there actually *is* a public/-directory.
>>
>> However, you can create aliases for apache for each directory - images,
>> css, whatever.
> 
> 
> Imagine you are deploying 3 tg2 apps using apache and mod_wsgi. How
> are you going to differentiate the alias for  /images for the 3 apps?

In the same way you disambiguate the three mod_wsgi-apps. Either by 
common prefix, or by vhost. How else?

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to