|
|
|
Apache / mod_rewrite /Pretty URLs / ЧПУ
|
|||
|---|---|---|---|
|
#18+
Вот правило: AddDefaultCharset utf-8 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule (.*) index.php?uri=$1 [L] Когда обращаемся к site.ru/index.htm, то в $_GET лежит array(1) { ["uri"]=> string(9) "index.htm" }. Это хорошо а вот как избавиться от такого к любому скрпиту обращаешься site.ru/index.php/1/2/3 и всё работает(а не должно!), но $_GET пуст, как запретить(мне такое решительно не нравится)? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 02.11.2011, 12:43 |
|
||
|
|

start [/forum/search_topic.php?author=MaxMax&author_mode=last_topics&do_search=1]: |
0ms |
get settings: |
8ms |
get forum list: |
13ms |
get settings: |
9ms |
get forum list: |
15ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
20ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
19ms |
get tp. blocked users: |
1ms |
| others: | 701ms |
| total: | 800ms |

| 0 / 0 |
