Hello,

What needs to change to add public/ folder in front of anything that is static.

Currently it seems as I need to add
Alias /css/ "/path.../"
Alias /javascripts/ "/path.../"
Alias /images/ "path.../"

This gets complicated if I deploy 2 or more apps, then I suddenly need
3x usual number of aliases per each project.

I would like to add
Alias /public/ "path..tomyapp/public/"

And everything in public could be referenced via
localhost:8080/public/images/...
localhost:8080/public/css/...
.....
etc..

Can pylons template change to so that all public/static files are
served through localhost/public/ folder and not via each individual
folder?

like to get something like this by default:
http://localhost:8080/public/images/logo.png
http://localhost:8080/public/css/style.css

Thanks,
Lucas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-devel" 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/pylons-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to