I'm still trying to move everything from apache to nginx. I've successfully translated some rules from the .htaccess:
RewriteRule ^(.*)_k(.*)\.htm$ pagina.php?k=$2 works pretty weff if turned into: rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ; while RewriteRule ^privacy.php$ pagina.php?k=privacy does not work if translated as: rewrite ^/privacy.php$ /pagina.php?k=privacy ; the request is passed unchanged and I get a 404 error for the /privacy.php page does'nt exist. What did I miss? AdvThanksAnce, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: [email protected] / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
