Please find the steps that I have followed in Windows XP:

    1. For Apache: Change RewriteBase / to RewriteBase /your_local_folder/
    2. For nginx: - Change root directory in nginx configuration also, - Add your local folder name in rewrite rules
    root C:/Nginx/html/restyboard;
    index index.html index.php;

    gzip on;
    gzip_disable "msie6";

    gzip_comp_level 6;
    # gzip_comp_level 9;
    gzip_min_length 1100;
    gzip_buffers 16 8k;
    gzip_proxied any;
    # gzip_http_version 1.1;
    gzip_types text/plain application/xml text/css text/js text/xml application/x-javascript
    text/javascript application/json application/xml+rss;

    client_max_body_size 300M;

    rewrite ^/download/([0-9]*)/([a-zA-Z0-9_\.]*)$ /server/php/R/download.php?id=$1&hash=$2 last;
    rewrite ^/ical/([0-9]*)/([a-z0-9]*).ics$ /server/php/R/ical.php?id=$1&hash=$2 last;
    rewrite ^/api/(.*)$ /server/php/R/r.php?_url=$1&$args last;

    location / {
    root C:/Nginx/html/restyboard/client;

    location ~ \.php$ {
    try_files $uri =404;
    include fastcgi_params;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param PHP_VALUE "upload_max_filesize = 300M \n post_max_size=301M";

    location ~* \.(css|js|less|html|ttf|woff|jpg|jpeg|gif|png|bmp|ico) {
    root C:/Nginx/html/restyboard/client;
    if (-f $request_filename) {
    rewrite ^/img/([a-zA-Z_]*)/([a-zA-Z_]*)/([a-zA-Z0-9_\.]*)$ /server/php/R/image.php?size=$1&model=$2&filename=$3 last;
    add_header Cache-Control public;
    add_header Cache-Control must-revalidate;
    expires 7d;