nginx

I can't install Phusion Passenger to run Rails

The problem is simple. I use the following command to install Passenger passenger-install-nginx-module When Passenger automatically installs nginx, I can't launch it. nginx -v Returns there's no nginx installed. How can I fix this? ...

Nginx Passenger 3.0 "LoadError" in Production

I have been battling with this question for the past couple of days. I have never been fortunate enough to have to install a Rails application on production and have been pulling my hair out over these errors. My application is currently running http://typealoud.com and throwing an exception which basically amounts to a "LoadError" in a ...

Django Double Slash in URLS Issue (Multiple Webservers, Apache and Nginx)

To see an example: load up a example.com, click on a link that's linking to /test and instead of going to http:// example.com/test/ it goes to http:// www.example.net//test/ Or if you login, the login form for the auto-generated django admin section posts to //admin instead of admin. Seems like this is a django issue, but the only thin...

Rewrite Rule in Nginx

Hi. I conisder moving to Nginx but I want you to ask if is possible to rewrite urls into that schema, and if you could help me a bit: A url like http://example.com/username into profile.php?u=username. But then, will I have problems in accessing other pages like e.g. home.php A url like http://example.php/questions/102039/that-questi...

rewrite rules for wordpres 3.0.1 multi site with subdirectories nginx

Hi, I've been trying to use the solution from this post: http://stackoverflow.com/questions/3488861/rewrite-rules-for-subdirectories-in-wordpress-3-multiuser-with-nginx But I keep getting an "unknown directive if(" when restarting nginx. Am I doin' something wrong or do I have the wrong rewrite rules or what? Thanks for your help. La...

help with redirecting a specific page in nginx

I have been trying to do this for the last 4 hours and have searched everywhere. it would be great if you could help me with nginx rewrite rules. I am trying to temporarily redirect hxxp://siteA/[dir] to hxxp://siteB/[dir] except for hxxp://siteA/?page=4 which I want to redirect to hxxp://siteB/?page=343 Here are the rules I have serv...

running lua scripts using fastCGI

hello, i am currently trying to figure out ways to run lua scripts using fastCGI with either lighttpd or nginx. the only thing i was able to dig up yet was wsapi of the kepler project. but i wonder, if there are other possibilities. important for me is: should be as lightweight as possible should be stable enough to use in a productio...