This is a good overview of common configurations comparing nginx's syntax to apache's. Once you get used to it, I think nginx syntax is easier to understand, and it reads more like an actual script or program. I've been using nginx to host SoccerBlogs.net for 3 months now and its been very solid. In fact, it ...
Displaying posts tagged: apache
Migrating platforms can lead to broken links on your website. If you've cultivated links from other sites or if search engines send a lot of visitors your way, you'll want to redirect users from the old links to the new. Many content management systems have facilities for manually maintaining redirects, but you can also do this ...
If you're contemplating switching to running PHP5 under FastCGI, to take advantage of apache's threaded worker model and improve your server's performance, think again. If you're used to setting and overriding php values via .htaccess files or using php_value/php_flag in your virtual host directory, this is not supported with FastCGI. You'll have to figure out how ...
PHP's Header function can come in quite handy when you're building your next greate web application. Its powerful, but as a result, its tempting to misuse it to do even the simplest things, like permanent redirects. Usually, its done like this:
// redirect /publications (this page) to real page (/documents)Header("Location: /documents/");
One line of code, time to ...

New Post:Link: Nginx Hacking Tips