I can now confirm that both 127.0.0.1 and localhost on Slackware 12.1 (Linux stef 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 AMD Athlon(tm) X2 Dual Core Processor BE-2400 AuthenticAMD GNU/Linux) work. In fact localhost is quietly resolved to 127.0.0.1 and pylons is served on that.
running it with localhost prints out: "bash-3.1$ paster serve --reload development.ini Starting subprocess with file monitor Starting server in PID 3306. serving on http://127.0.0.1:5000" On Tue, Jul 15, 2008 at 1:19 AM, Mike Orr <[EMAIL PROTECTED]> wrote: > > The Pylons developers need your help. In order to change the default > host= in development.ini from 0.0.0.0 to 127.0.0.1 or localhost, as a > couple recent threads on this list have recommended for security, we > need to make sure it doesn't break on any platform. > > I've seen computers that didn't recognize 'localhost' by default (I > think it was Mac OS 10.3 servers but it may have been a Windows > computer). We're not sure if any plaform has trouble with 127.0.0.1 > but Ben things the default was originally changed to 0.0.0.0 because > of such an issue on some platform. So we need you guys to test > whatever strange platforms you have access to and report back. > > Just take any Pylons application and change the development.ini from: > host = 0.0.0.0 > to > host = 127.0.0.1 > and then > host = localhost > > And see if you can still get to it from a browser. > > I tested Windows XP and verified it works. Linux either comes with > localhost by default or the setup instructions say to configure it. > Mac OS X 10.4 has it though I couldn't get Pylons installed on it. :( > But that's a topic for another message. > > -- > 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 -~----------~----~----~----~------~----~------~--~---
