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
 
Start new topic
Odpowiedzi
Pyton_000
post
Post #2





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

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


Wklejasz cały .htaccess
http://winginx.com/en/htaccess

http://piotrows.pl/iindex,22,444.html

Ten post edytował Pyton_000 9.11.2014, 18:19:24
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: 17.10.2025 - 06:24