Problem mit Nginx + Apache mod_rewrite Modul

Hallo Community,
ich habe folgendes Problem. Ich habe jetzt auf meinem Linux Server Nginx installiert. Jetzt funktioniert Nginx perfekt mit PHP und dem ZendGuardLoader.so. Da ich aber kein Apache verwende, brauche ich Hilfe bei den RewriteRules um Oxid in die Nginx Form zu bekommen.

Meine default:

# You may add here your
# server {
#	...
# }
# statements for each of your virtual hosts

server {

	listen   80; ## listen for ipv4
	listen   [::]:80 default ipv6only=on; ## listen for ipv6

	server_name  localhost;

	access_log  /var/log/nginx/localhost.access.log;

	location / {
		root   /var/www;
		index index.php  index.html index.htm;
	}

	location /doc {
		root   /usr/share;
		autoindex on;
		allow 127.0.0.1;
		deny all;
	}

	location /images {
		root   /usr/share;
		autoindex on;
	}

	#error_page  404  /404.html;

	# redirect server error pages to the static page /50x.html
	#
	#error_page   500 502 503 504  /50x.html;
	#location = /50x.html {
	#	root   /var/www/nginx-default;
	#}

	# proxy the PHP scripts to Apache listening on 127.0.0.1:80
	#
	#location ~ \.php$ {
		#proxy_pass   http://127.0.0.1;
	#}

	# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
	#
	location ~ \.php$ {
		fastcgi_pass   127.0.0.1:9000;
		fastcgi_index  index.php;
		fastcgi_param  SCRIPT_FILENAME  /var/www$fastcgi_script_name;
		include fastcgi_params;
	}

	# deny access to .htaccess files, if Apache's document root
	# concurs with nginx's one
	#
	#location ~ /\.ht {
		#deny  all;
	#}
}


# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
#listen   8000;
#listen   somename:8080;
#server_name  somename  alias  another.alias;

#location / {
#root   html;
#index  index.html index.htm;
#}
#}


# HTTPS server
#
#server {
#listen   443;
#server_name  localhost;

#ssl  on;
#ssl_certificate  cert.pem;
#ssl_certificate_key  cert.key;

#ssl_session_timeout  5m;

#ssl_protocols  SSLv3 TLSv1;
#ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
#ssl_prefer_server_ciphers   on;

#location / {
#root   html;
#index  index.html index.htm;
#}
#}

bemüh mal die Forensuche, da gabs bereits was zu den Rules für NGINX - weiß nur grad nicht mehr wo/wann

oder hier: http://blog.mayflower.de/777-Nginx-Rewrite-Regeln-fuer-OXID-eShop-.html

Hatte ich bereits gefunden, aber ich weiß nicht, wie ich das in die Datei da oben einbinden soll. Kann mir das jemand machen?

bis jetzt nichts gefunden

hier auch:

oder hier:
http://www.oxideshop.org/tag/nginx/

Ja, danke. Aber es gibt jetzt ein Problem.

Wenn ich nun meine lokale IP aufrufe, kommt das in der URL:
http://192.168.1.219/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost/localhost

Hier ist die:

server {
       listen 80;

       ## SSL directives might go here
       ## see http://www.howtoforge.com/how_to_set_up_ssl_vhosts_under_nginx_plus_sni_support_ubuntu_11.04_debian_squeeze
       ## if you want to enable SSL for this vhost

       server_name http://192.168.1.219;
       root /var/www/www.example.com/web;
       if ($http_host != "http://192.168.1.219") {
                 rewrite ^ http://192.168.1.219$request_uri permanent;
       }
       index index.php index.html;

       if ($request_method ~ ^(TRACE|TRACK)$ ) {
                return 403;
       }

       location = /favicon.ico {
                log_not_found off;
                access_log off;
       }
       location = /robots.txt {
                allow all;
                log_not_found off;
                access_log off;
       }

       location ~ (/\.|EXCEPTION_LOG\.txt|\.log$|\.tpl$|pkg.rev) {
                deny all;
       }

       location ~ /out/pictures/.*(\.jpg|\.gif|\.png)$ {
                try_files $uri /core/utils/getimg.php;
       }

       location ~ ^/(admin|setup)/?$ {
       }

       location ~ /(core|export|modules|out|tmp|views)/ {
       }

       location / {
                try_files $uri $uri/ /oxseo.php;
       }

       location = /oxseo.php {
                if ($args ~ "mod_rewrite_module_is=off") {
                       rewrite /oxseo.php /oxseo.php?mod_rewrite_module_is=on? break;
                }
                try_files $uri =404;
                include /etc/nginx/fastcgi_params;
                fastcgi_pass 192.168.1.219:9000;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param  HTTPS $fastcgi_https;
       }

       location ~ \.php$ {
                try_files $uri =404;
                include /etc/nginx/fastcgi_params;
                fastcgi_pass 192.168.1.219:9000;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param  HTTPS $fastcgi_https;
       }

}

Warum ist die URL so lang? Warum wird nicht das root Verzeichnis aufgerufen?

Keine weiß eine Lösung?