Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> mod_rewrite obcina adres
sobstel
post 20.06.2005, 10:39:23
Post #1





Grupa: Zarejestrowani
Postów: 853
Pomógł: 25
Dołączył: 27.08.2003
Skąd: Katowice

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


reguła jest następująca

Kod
RewriteEngine On
RewriteCond %{REQUEST_URI} \.html?(\?.*)?$ [NC]
RewriteRule ^(.+)\.html?(\?.*)?$ /index.php/$1$2 [NC,L]


i teraz przy wywolaniu niektorych adresow ciag znakow po znaku zapytania jest po prostu obcinany np. po wywołaniu

http://localhost/news,2005,3.htm?filter=general

w zmiennej $_GET['filter'] siedzi "gener" zamiast "general".

ma moze ktos jakis pomysl co moze byc tego przyczyna?

-----------
EDIT:
problem rozwiazany. przyczyna bylo zle ustawienie arg_separator.input na &

Ten post edytował sopel 20.06.2005, 20:01:53


--------------------
"If debugging is the process of removing bugs, then programming must be the process of putting them in..."
sobstel.org
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 09:46