Помощник
|
Помогите пжл настроить .htaccess |
Thander
|
Сообщение
#1
|
||
|
|
||
|
|||
Rau1 |
1.7.2011, 10:57;
Ответить: Rau1
Сообщение
#2
|
|
Options +MultiViews +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^quotes/quote/([0-9]+)(/?)$ quotes/index.php?id=$1 RewriteRule ^quotes/page/([0-9]+)(/?)$ quotes/index.php?page=$1 RewriteRule ^quotes/random$ quotes/index.php?sort=random RewriteRule ^quotes/best$ quotes/index.php?sort=best RewriteRule ^quotes/byrating$ quotes/index.php?sort=byrating RewriteRule ^quotes/byrating/([0-9]+)(/?)$ quotes/index.php?sort=byrating&p=$1 RewriteRule ^quotes/add$ quotes/index.php?out=add RewriteRule ^quotes/about$ quotes/index.php?out=about RewriteRule ^quotes/webmaster$ quotes/index.php?out=webmaster RewriteRule ^quotes/tag/([0-9]+)(/?)$ quotes/index.php?out=tag&id=$1 RewriteRule ^quotes/rss$ quotes/rss.php RewriteRule ^quotes/forweb$ quotes/forweb.php <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> так наверно правильно.. |
|
|
Thander
|
Сообщение
#3
|
|
-------------------- |
|
|
WarDJ |
1.7.2011, 11:19;
Ответить: WarDJ
Сообщение
#4
|
|
проверь права доступа на файл должны стоять 644
Сообщение отредактировал WarDJ - 1.7.2011, 11:19 -------------------- Skype: WarDJ1 ICQ: 7842924 |
|
|
Thander
|
Сообщение
#5
|
|
WarDJ, если речь идет о .htaccess то на нем стоит 640, при смене на 644 ничего не меняется - ошибка все равно есть
Сообщение отредактировал Thander - 1.7.2011, 11:30 -------------------- |
|
|
lemish |
1.7.2011, 11:33;
Ответить: lemish
Сообщение
#6
|
|
Загрузите .htaccess в директорию /quotes/
-------------------- |
|
|
WarDJ |
1.7.2011, 11:34;
Ответить: WarDJ
Сообщение
#7
|
|
попробуй тогда убрать пол кода
RewriteEngine on
RewriteBase / RewriteRule ^quotes/quote/([0-9]+)(/?)$ quotes/index.php?id=$1 RewriteRule ^quotes/page/([0-9]+)(/?)$ quotes/index.php?page=$1 RewriteRule ^quotes/random$ quotes/index.php?sort=random RewriteRule ^quotes/best$ quotes/index.php?sort=best RewriteRule ^quotes/byrating$ quotes/index.php?sort=byrating RewriteRule ^quotes/byrating/([0-9]+)(/?)$ quotes/index.php?sort=byrating&p=$1 RewriteRule ^quotes/add$ quotes/index.php?out=add RewriteRule ^quotes/about$ quotes/index.php?out=about RewriteRule ^quotes/webmaster$ quotes/index.php?out=webmaster RewriteRule ^quotes/tag/([0-9]+)(/?)$ quotes/index.php?out=tag&id=$1 RewriteRule ^quotes/rss$ quotes/rss.php RewriteRule ^quotes/forweb$ quotes/forweb.php -------------------- Skype: WarDJ1 ICQ: 7842924 |
|
|
artanik |
1.7.2011, 12:02;
Ответить: artanik
Сообщение
#8
|
|
Провертье на локальном компьютере(Apache+PHP, Denwer, XAMMP), возможно хостинг не поддерживает RewriteEngine
Сообщение отредактировал artanik - 1.7.2011, 12:02 -------------------- Нужна качественная вёрстка сайтов? Обращайтесь: ICQ 555-177-362 |
|
|
Thander
|
Сообщение
#9
|
|
RewriteEngine on RewriteBase / RewriteRule ^quotes/quote/([0-9]+)(/?)$ quotes/index.php?id=$1 RewriteRule ^quotes/page/([0-9]+)(/?)$ quotes/index.php?page=$1 RewriteRule ^quotes/random$ quotes/index.php?sort=random RewriteRule ^quotes/best$ quotes/index.php?sort=best RewriteRule ^quotes/byrating$ quotes/index.php?sort=byrating RewriteRule ^quotes/byrating/([0-9]+)(/?)$ quotes/index.php?sort=byrating&p=$1 RewriteRule ^quotes/add$ quotes/index.php?out=add RewriteRule ^quotes/about$ quotes/index.php?out=about RewriteRule ^quotes/webmaster$ quotes/index.php?out=webmaster RewriteRule ^quotes/tag/([0-9]+)(/?)$ quotes/index.php?out=tag&id=$1 RewriteRule ^quotes/rss$ quotes/rss.php RewriteRule ^quotes/forweb$ quotes/forweb.php Вот так заработало. Огромное спасибо -------------------- |
|
|
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Как настроить в WordPress для SEO оптимизации | 8 | rownong27 | 2488 | 2.3.2024, 12:59 автор: toplinks |
|
Помогите вспомнить рекламного бота Телеграм для обмена рекламой | 0 | Mixatraider | 731 | 21.2.2024, 23:42 автор: Mixatraider |
|
Помогите рещить проблему с монитором. Почему низкое разрешение при подключении монитора через displayport? |
0 | Levels | 1702 | 11.12.2020, 0:48 автор: Levels |
|
Помогите кто нибудь получить партнерку Росбанк! | 7 | heisenberg_mw | 2345 | 7.8.2020, 9:28 автор: heisenberg_mw |
|
Помогите найти тему пожалуйста | 7 | virtas | 12541 | 24.7.2020, 17:02 автор: -JamesSmips- |
Текстовая версия | Сейчас: 25.4.2024, 8:07 |