Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [mod_rewrite] Okrągłe nawiasy, problem
GrayHat
post
Post #1





Grupa: Zarejestrowani
Postów: 566
Pomógł: 18
Dołączył: 23.08.2003
Skąd: Łomża

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


Witam.
Mam problem z regułką:
Kod
RewriteRule ^([a-zA-Z0-9_/-\(\)]+)$ index.php?dir=$1 [L]


Zwraca ona błąd:
Kod
RewriteRule: cannot compile regular expression '^([a-zA-Z0-9_/-\\(\\)]+)$'


dokładnie chodzi o nawiasy okrągłe. Jak je usunę, to wszystko jest ok. Ale one są mi potrzebne...

Proszę o pomoc

Pozdrawiam
Go to the top of the page
+Quote Post
zuvik
post
Post #2





Grupa: Zarejestrowani
Postów: 14
Pomógł: 4
Dołączył: 28.11.2007

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


Sam sobie podałeś odpowiedź (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Cytat
Zwraca ona błąd:

Kod
   </div><div class="codemain">RewriteRule: cannot compile regular expression '^([a-zA-Z0-9_/-\\(\\)]+)  </div></span>


dwa ukośniki przed nawiasami (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
\\(\\)
Go to the top of the page
+Quote Post

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: 19.09.2025 - 17:15