<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SparkSupport.com Blog &#187; Webservice</title>
	<atom:link href="http://www.sparksupport.com/blog/category/web-server/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sparksupport.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 15 Sep 2011 14:39:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>nginx wordpress permalink</title>
		<link>http://www.sparksupport.com/blog/nginx-wordpress-permalink</link>
		<comments>http://www.sparksupport.com/blog/nginx-wordpress-permalink#comments</comments>
		<pubDate>Wed, 29 Apr 2009 05:29:58 +0000</pubDate>
		<dc:creator>Shijil T S</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Webservice]]></category>
		<category><![CDATA[nginx wordpress permalink]]></category>

		<guid isPermaLink="false">http://sparksupport.com/blog/?p=102</guid>
		<description><![CDATA[As you are aware nginx don&#8217;t read .htaccess rewrite rule nginx has its own rewrite rule. WordPress has already embraced nginx, wordpress.com works with nginx. There will be problems if you enable permalink option in wordpress nginx. Here is the workaround for it. You can find permalink option at Login as wordpress admin Click on [...]]]></description>
			<content:encoded><![CDATA[<p>       As you are aware nginx don&#8217;t read .htaccess rewrite rule nginx has its own rewrite rule. WordPress has already embraced nginx, wordpress.com works with nginx. There will be problems if you enable permalink option in wordpress nginx. Here is the workaround for it.</p>
<p>You can find permalink option at</p>
<pre><code>Login as wordpress admin
Click on settings -> permalinks
Custom Structure /%postname%/   # This is the one I am using you can opt any other which is given as example in that page.
</code></pre>
<p>Now goto wp-content/plugin directory of your wordpress installation</p>
<pre><code> wget http://downloads.wordpress.org/plugin/nginx-compatibility.0.1.1.zip </code></pre>
<p>unzip it in the plugin directory<br />
Now go to admin settings and activate this plugin. Permalink should be working now. Mind you if you have installed wordpress on a separate folder your<br />
&#8220;location /&#8221; in nginx should look something like the below</p>
<pre><code>   location / {
        root /home/user/public_html;      #replace user with actual username
        index index.html index.htm index.php;
if ($request_uri ~* ^.*/.*$) {
     rewrite ^/(w*)/(.*)$ /$1/index.php?q=$2 last;
     break;
}
}</code></pre>
<p>A working example is this blog itself <img src='http://www.sparksupport.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/nginx-wordpress-permalink/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>startup scripts for nginx</title>
		<link>http://www.sparksupport.com/blog/startup-scripts-for-nginx</link>
		<comments>http://www.sparksupport.com/blog/startup-scripts-for-nginx#comments</comments>
		<pubDate>Tue, 28 Apr 2009 15:33:27 +0000</pubDate>
		<dc:creator>Shijil T S</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Webservice]]></category>
		<category><![CDATA[nginx startup script]]></category>
		<category><![CDATA[start   up script for nginx]]></category>

		<guid isPermaLink="false">http://sparksupport.com/blog/?p=95</guid>
		<description><![CDATA[Startup script for nginx that can be used for centos. Save the below code in a file named nginx in /etc/init.d/. Chmod its permission to 755. Also make sure that you give the correct path for your conf file in NGINX_CONF_FILE and of the nginx binary location. #!/bin/sh # # nginx - this script starts [...]]]></description>
			<content:encoded><![CDATA[<p>Startup script for nginx that can be used for centos. Save the below code in a file named nginx in /etc/init.d/. Chmod its permission to 755.</p>
<p>Also make sure that you give the correct path for your conf file in NGINX_CONF_FILE and of the nginx binary location.</p>
<pre><code>
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemin
#
# chkconfig:   - 85 15
# description:  Nginx is an HTTP(S) server, HTTP(S) reverse
#               proxy and IMAP/POP3 proxy server
# processname: nginx
# config:      /usr/local/nginx/conf/nginx.conf
# pidfile:     /usr/local/nginx/logs/nginx.pid

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ "$NETWORKING" = "no" ] &#038;&#038; exit 0

nginx="/usr/local/sbin/nginx"
prog=$(basename $nginx)

NGINX_CONF_FILE="/usr/local/nginx/conf/nginx.conf"

lockfile=/var/lock/subsys/nginx

start() {
    [ -x $nginx ] || exit 5
    [ -f $NGINX_CONF_FILE ] || exit 6
    echo -n $"Starting $prog: "
    daemon $nginx -c $NGINX_CONF_FILE
    retval=$?
    echo
    [ $retval -eq 0 ] &#038;&#038; touch $lockfile
    return $retval
}

stop() {
    echo -n $"Stopping $prog: "
    killproc $prog -QUIT
    retval=$?
    echo
    [ $retval -eq 0 ] &#038;&#038; rm -f $lockfile
    return $retval
}

restart() {
    configtest || return $?
    stop
    start
}

reload() {
    configtest || return $?
    echo -n $"Reloading $prog: "
    killproc $nginx -HUP
    RETVAL=$?
    echo
}

force_reload() {
    restart
}

configtest() {
  $nginx -t -c $NGINX_CONF_FILE
}

rh_status() {
    status $prog
}

rh_status_q() {
    rh_status >/dev/null 2>&#038;1
}

case "$1" in
    start)
        rh_status_q &#038;&#038; exit 0
        $1
        ;;
    stop)
        rh_status_q || exit 0
        $1
        ;;
    restart|configtest)
        $1
        ;;
    reload)
        rh_status_q || exit 7
        $1
        ;;
    force-reload)
        force_reload
        ;;
    status)
        rh_status
        ;;
    condrestart|try-restart)
        rh_status_q || exit 0
            ;;
    *)
        echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}"
        exit 2
esac
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/startup-scripts-for-nginx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Litespeed webserver</title>
		<link>http://www.sparksupport.com/blog/litespeed-webserver</link>
		<comments>http://www.sparksupport.com/blog/litespeed-webserver#comments</comments>
		<pubDate>Mon, 09 Mar 2009 22:33:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Webservice]]></category>
		<category><![CDATA[Litespeed webserver]]></category>

		<guid isPermaLink="false">http://sparksupport.com/blog/?p=20</guid>
		<description><![CDATA[Litespeed webserver Internet is growing and the servers hosting the sites are thickly packed. If you are not hosting your site on a dedicated server chances are there that it is loading very slow at times. Almost 90% of servers are based in linux which is embracing opensource software Apache as its webserver. Over a [...]]]></description>
			<content:encoded><![CDATA[<p>Litespeed webserver</p>
<p>Internet is growing and the servers hosting the sites are thickly packed. If you are not hosting your site on a dedicated server chances are there that it is loading very slow at times.</p>
<p>Almost 90% of servers are based in linux which is embracing opensource software Apache as its webserver. Over a decade we haven&#8217;t seen any marked improvement in its performance with the growing demand.</p>
<p>Litespeed comes to your rescue at this juncture, they provide both free and enterprise version. They have provided a comparison chart with other websevers</p>
<p>http://www.litespeedtech.com/web-server-performance-comparison-litespeed-2.1-vs.html</p>
<p>We also had implemented it on our server and the site sparksupport.com is using litespeed. We could see a drastic difference in the performance. Another catch is that if your server is using a control panel like cpanel or plesk, litespeed can still work as it is portable with the existing webservice.</p>
<p>There is a very good documentation provided by litespeed which is a major advantage over its rivals like ngine-X.</p>
<p>Give it a try and experience the difference.</p>
<p><strong>Update:</strong> Wed Apr 15 12:26:17 IST 2009</p>
<p>We moved our servers to Nginx &#8211; Cpanel combination. Now all our our servers are running Nginx.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sparksupport.com/blog/litespeed-webserver/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

