Search Results

Search found 3 results on 1 pages for 'xyzman'.

Page 1/1 | 1 

  • Nginx - assigning non-root location to proxy_pass

    - by xyzman
    What I like to do is to proxy requests from http://example.com/proxy/foo to http://localhost:8060/foo This config proxies http://example.com/proxy/foo to http://localhost:8060/proxy/foo server { server_name example.com; location /proxy/ { proxy_pass http://localhost:8060; } location / { proxy_pass http://localhost:8040; } }

    Read the article

  • Lost current user (shutdown/logoff) widget after upgrading to Ubuntu 10.04

    - by xyzman
    I've upgraded to 10.04 from 9.10. Everything went fine until I've rebooted. After reboot, I've received some message about status panel and being sleepy, dismissed it. However, I haven't seen the user widget on Gnome Panel since that. This image shows which widget I'm talking about. If some one has any ideas about how it's called properly, please share. http://img237.imageshack.us/img237/8274/sampleyu.jpg Anyway, the question is, how do I turn this panel (and ability to shut my system down without resorting to console) back?

    Read the article

  • Rails 2.3.5: flash[:notice] disappears after redirect_to call

    - by xyzman
    Here I've got two controller methods: def invite if request.post? begin email = AccountMailer.create_invite(@user,url) AccountMailer.deliver(email) flash[:notice] = "Invitation email sent to #{@user.email}" rescue #mail delivery failed flash[:error] = "Failed to deliver invitation" end redirect_to :action => :show, :id => @user.id end end and def show @title = "User #{@user.full_name}" end The problem is, when I send an invitation, and get redirected to ./show, I see no messages at all. If I change redirect_to to render, the message appears. Still, isn't it intended for flash to work in the immediate subsequent requests? BTW, I'm using Rails+Passenger setup, could it be so that redirected request goes to another application instance?

    Read the article

1