ПРОЕКТЫ 


  АРХИВ 


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]

Передка правил с nginx на apache


  • To: nginx-ru@xxxxxxxxx
  • Subject: Передка правил с nginx на apache
  • From: "Shestera S Leonid" <leonid@xxxxxxxxxxx>
  • Date: Tue, 19 Feb 2008 12:21:46 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=dpbIXJCX75SkrEeGi0d+USz/ea+k4h1EDoT56g1Z1t4=; b=Prsao7xCnU6AE6lj9mIWfybmgriFzGUmc6AExnyO8nJ9ISs0HM5fYK9qGJFt6mCh/SfQqmeV8Af8iS4kaK4T9TGUMCVMfkc5wp/cQo/sbBuUxpCFseF1y6j6a1Ehw17mL9vCbGhSDH7DQT89rsgfRtRqu+Qeof7emRb1OPQQ80Y=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=wa3xbZ4SG/LY1k9g6HqUEMJwljW1Zleqz4fI+wNAtrvJ6/lqLeSAnixH/l6LR3ykgqsRKHBn1vxXvQtutPtLPuCvbcBXorYt4dZ1exoiX0Z+6qYvGs7zSGz7IBEMAglie5h6YxOAR40UJ8xdMyurSuMn1qb35VWxRRB/exRvjo8=

Приветствую.
Есть конфиг nginx с вот таким location

               location / {
                       root   /home/www/htdocs;
                       set $concat "$request_method?$args";
                       if ($concat = "GET?") {
                              rewrite ^/$ http://$host/center/ redirect;
                       }
                       set $concat "$request_method?$args";
                       if ($request_method = "POST") {
                               rewrite ^/$ /sendsms/ last;
                       }
                       rewrite ^/comm/(.*)$ /morex/$1 break;
                       if (!-f $request_filename) {
                               rewrite /(.*\w+)$ http://$host/$1/ redirect;
                       }
                       index  /index.phtml;
               }

Помогите пожалуйста это переписать по apache .htaccess


 




Copyright © Lexa Software, 1996-2009.