Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Problem w przerobieniu rewrite na nginx, j/w
LordGM
post
Post #1





Grupa: Zarejestrowani
Postów: 10
Pomógł: 0
Dołączył: 5.11.2005

Ostrzeżenie: (0%)
-----


Mam problem w przerobieniu htaccess z apache na nginx. Jest ktoś wstanie pomóc? Kod nie jest długi
  1. SetEnv PHP_VER 5
  2.  
  3. RewriteEngine On
  4.  
  5. RewriteRule ^([a-zA-Z0-9\-\_]+).html$ index.php?p=$1
  6. RewriteRule ^([a-zA-Z0-9\-\_]+),([a-zA-Z0-9\-\_]+).html$ index.php?p=$1&action=$2
  7. RewriteRule ^([a-zA-Z0-9\-\_]+),([a-zA-Z0-9\-\_]+),([a-zA-Z0-9\-\_]+).html$ index.php?p=$1&action=$2&id=$3


Próbowałem użyć generatorów ale nie rusza :/ (IMG:style_emoticons/default/ohno-smiley.gif)
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 15.09.2025 - 21:40