On Thu, Mar 3, 2011 at 6:59 AM, neurino <[email protected]> wrote: > Hi all, > > I deployed my Pylons app using Apache and mod_wsgi like explained in > pylons-book. > > Every time I easy_install a new version I find again and again default > public/index.html "Welcome to pylons" page opening / even if I removed > the file from source (who's going to put it back in place in `python > setup.py bdist_egg`???). > > The right route to controller action is in routing but it's ignored > until I don't remove index.html and I have to do this e-v-e-r-y time I > install a new version.
It may have been a bad decision but it does demonstrate how static files work. Pyramid has an index view instead of index.html, so that problem doesn't come up. Pylons 1 is in maintenance mode now, so only genuine bugs are being fixed. I just treat this as one step I have to do after creating an application: clear out the 'public' directory. I have to do other steps anyway, like renaming the top-level directory before I check it into version control (because I want the project name different from the package name), so it has never seemed like an onerous step. In any case, I don't create new apps that often; usually I'm refining an existing app. -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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-discuss?hl=en.
