ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rewrite permanent возвращает 302



# nginx -V
nginx version: nginx/web1
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--with-debug --http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-log-path=/var/log/nginx-access.log --with-http_addition_module
--with-http_flv_module --with-http_gzip_static_module
--add-module=/usr/ports/www/nginx/work/nginx_mp4_streaming_public
--with-http_perl_module --with-http_realip_module
--with-http_secure_link_module --with-http_stub_status_module
--add-module=/usr/ports/www/nginx/work/nginx_upload_module-2.0.9
--add-module=/usr/ports/www/nginx/work/nginx-upload-progress-module
--with-pcre

nginx-0.7.63

rewrite ^/old_url/(.*)   /new_url/  permanent;
rewrite ^/old_url/(.*)$   /new_url/$1?  permanent;

в обоих случаях ответ 302 вместо обещанной 301.
научите что не так.

-- 
Yours sincerely,
Vladimir Getmanshchuk

Senior Unix System Administrator
Openfilm, LLC

Email: vladget@xxxxxxxxxxxx
Skype: vladimir.getmanshchuk



 




Copyright © Lexa Software, 1996-2009.