Помощник
|
Вопрос по .htaccess |
IamWolf
|
Сообщение
#1
|
||
|
|
||
|
|||
banifaciy |
11.10.2008, 13:26;
Ответить: banifaciy
Сообщение
#2
|
|
А можно по подробнее в чем заключается ошибка? Не правильно перенаправляет или на Internal Server Error кидает?
|
|
|
IamWolf
|
Сообщение
#3
|
|
Internal Server Error, но если оставить ссылку выключить браузер включить, то он откроет что нужно.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@good-sell.saitok.net and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------- |
|
|
Infium |
11.10.2008, 13:35;
Ответить: Infium
Сообщение
#4
|
|
Исправил
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml
#DirectoryIndex index.php #Options FollowSymLinks #php_flag magic_quotes_gpc On <IfModule mod_php4.c> php_flag session.use_trans_sid off </IfModule> RewriteEngine On RewriteBase / # Close #RewriteCond %{REQUEST_URI} !\.(js|ico|gif|jpg|png|css)$ [NC] #RewriteRule ^(.*)$ closed.html [L] RewriteRule ^admin\/([^\.]*)\.(js|ico|gif|jpg|png|css)$ /$1.$2 [L] RewriteRule ^admin\/external(.*)$ /external$1 [L] RewriteRule ^admin\/files(.*)$ /files$1 [L] RewriteRule ^admin\/resources(.*)$ /resources$1 [L] RewriteRule ^admin\/scripts(.*)$ /scripts$1 [L] RewriteCond %{REQUEST_URI} \.css$ RewriteCond %{REQUEST_URI} /resources [NC] RewriteCond %{REQUEST_URI} !tiny_mce [NC] RewriteRule ^(.+)$ resources/css-cache.php?format=1&sspp_req=%{REQUEST_URI}&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/stats [NC] RewriteCond %{REQUEST_URI} !/scripts [NC] RewriteCond %{REQUEST_URI} !/external [NC] RewriteCond %{REQUEST_URI} !/files [NC] RewriteCond %{REQUEST_URI} !\.(js|ico|gif|jpg|png|css)$ [NC] RewriteCond %{REQUEST_URI} !.htm$ [NC] RewriteCond %{REQUEST_URI} !.html$ [NC] RewriteCond %{REQUEST_URI} !phpinfo.php$ [NC] RewriteRule ^admin\/?(.*)$ backend.php?uri=$1 [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/stats [NC] RewriteCond %{REQUEST_URI} !/scripts [NC] RewriteCond %{REQUEST_URI} !/external [NC] RewriteCond %{REQUEST_URI} !/files [NC] RewriteCond %{REQUEST_URI} !\.(js|ico|gif|jpg|png|css)$ [NC] RewriteCond %{REQUEST_URI} !.htm$ [NC] RewriteCond %{REQUEST_URI} !.html$ [NC] RewriteCond %{REQUEST_URI} !phpinfo.php$ [NC] RewriteRule ^(.*)$ frontend.php?uri=$1 [QSA,L] |
|
|
IamWolf
|
Сообщение
#5
|
|
Infium, не помогло...можнт в чем другом проблема...не там копаю.
-------------------- |
|
|
Infium |
11.10.2008, 13:53;
Ответить: Infium
Сообщение
#6
|
|
|
|
|
IamWolf
|
Сообщение
#7
|
|
У меня domishko Хост+ самописный скрипт =)
Мне подсказали что из за правил... Что нужно ".htaccess дописывать директивы сервера" Тему можн прикрыть..есть человек который помочь сможет, если нет вариантов больше. -------------------- |
|
|
newdee |
11.10.2008, 15:32;
Ответить: newdee
Сообщение
#8
|
|
|
у меня позавчера примерно такая фигня была - помогло то, что переставил строчку
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml вниз файла.
|
|
|
||
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Вопрос - платное размещение баннеров на сайте | 10 | WGN | 3189 | 14.12.2020, 14:20 автор: Peterson |
|
Вопрос по рекламе в "инстаграме" Только активные аккаунты могут создавать или редактировать рекламу |
8 | Zubkov | 16055 | 17.1.2020, 17:49 автор: Forumacc |
|
Как перенести правила переадресации из .htaccess в php обработчик nginx? | 0 | KrisGuseva | 2097 | 28.12.2019, 7:33 автор: KrisGuseva |
|
Вопрос-ответ о работе форума | 307 | dos1k | 43331 | 9.11.2019, 17:59 автор: heks |
|
Жена логопед, собрался ей приводить клиентов. Встал вопрос, куда приводить. В теме перечисление доступного мне продвижения, но с чего начать? |
9 | memeplex | 3728 | 16.2.2019, 15:45 автор: zyzy |
Текстовая версия | Сейчас: 23.4.2024, 20:49 |