{% else-1 %}
Обновить
* Тема закрыта!
1.
#FWLone * 9.56
[автор] (27 ноя 2014, 15:59) [0/0] [0] [спам] [под]

RewriteEngine On

RewriteRule ^categorys$ cats.php [L,QSA]
RewriteRule ^cat_([0-9]*)$ cat.php?id=$1 [L,QSA]
RewriteRule ^podcat_([0-9]*)$ podcat.php?id=$1 [L,QSA]
RewriteRule ^podcat_([0-9]*)_start=([0-9]*)$ podcat.php?id=$1&start=$2 [L,QSA]
RewriteRule ^podcat_([0-9]*)_([0-9]*)$ podcat.php?id=$1&start=$2 [L,QSA]
RewriteRule ^view_([0-9]*)$ view.php?id=$1 [L,QSA]
RewriteRule ^search$ search.php [L,QSA]
RewriteRule ^search_([a-zA-Z0-9\-_]+)$ search.php?query=$1 [L,QSA]
RewriteRule ^kontakt$ kontakt.php [L,QSA]


что ne так? выбиваeт ошибку 500

2.
@pavelgrey * [мошенник] 0.46
(27 ноя 2014, 16:00) [1/0] [1] [спам] [под]

<?
RewriteRule ^categorys/*$ cats.php [L,QSA]
RewriteRule ^cat_([0-9]+)/*$ cat.php?id=$1 [L,QSA]
RewriteRule ^podcat_([0-9]+)/*$ podcat.php?id=$1 [L,QSA]
RewriteRule ^podcat_([0-9]+)_start=([0-9]+)/*$ podcat.php?id=$1&start=$2 [L,QSA]
RewriteRule ^podcat_([0-9]+)_([0-9]+)/*$ podcat.php?id=$1&start=$2 [L,QSA]
RewriteRule ^view_([0-9]+)/*$ view.php?id=$1 [L,QSA]
RewriteRule ^search/*$ search.php [L,QSA]
RewriteRule ^search_([a-zA-Z0-9-_]+)/*$ search.php?query=$1 [L,QSA]
RewriteRule ^kontakt/*$ kontakt.php [L,QSA]
?>
.якодирь.


Изм. 1 раз. / Посл. изм.
@pavelgrey * [мошенник] 0.46
(27 ноя 2014, 16:01)
3.
#FWLone * 9.56
[автор] (27 ноя 2014, 16:02) [0/0] [0] [спам] [под]

ЛАНЬ ТУПОЙ, спасибо, ща гляnу)

4.
#FWLone * 9.56
[автор] (27 ноя 2014, 16:07) [0/0] [0] [спам] [под]

ЛАНЬ ТУПОЙ, ne помогло...

5.
Hatsune Miku * [мошенник] 22.23
(27 ноя 2014, 16:15) [1/0] [1] [спам] [под]

RewriteEngine On

RewriteRule ^categorys$ cats.php [L,QSA]
RewriteRule ^cat_(.*)$ cat.php?id=$1 [L,QSA]
RewriteRule ^podcat_(.*)$ podcat.php?id=$1 [L,QSA]
RewriteRule ^podcat_(.*)_start=(.*)$ podcat.php?id=$1&start=$2 [L,QSA]
RewriteRule ^podcat_(.*)_(.*)$ podcat.php?id=$1&start=$2 [L,QSA]
RewriteRule ^view_(.*)$ view.php?id=$1 [L,QSA]
RewriteRule ^search$ search.php [L,QSA]
RewriteRule ^search_(.*)$ search.php?query=$1 [L,QSA]
RewriteRule ^kontakt$ kontakt.php [L,QSA]


*

6.
#FWLone * 9.56
[автор] (27 ноя 2014, 16:20) [0/0] [0] [спам] [под]

Hatsune Miku, всe гуд, спасибо *

7.
#FWLone * 9.56
[автор] (27 ноя 2014, 16:20) [0/0] [0] [спам] [под]

Тема закрыта для обсуждения! *

  • 1 из 1
Подписаны: 1
Скачать тему | Файлы темы | Фильтр сообщений