Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
03.08.2015, 05:49
|
|||
---|---|---|---|
apache htaccess RewriteCond |
|||
#18+
Доброе утро У меня есть сайт xx.ru На этом сайте есть домены 1.xx.ru, 2.xx.ru, которые нельзя убрать сейчас :( В корне сайта делаю файл xx.ru/publich_html/.htaccess с содержание: Код: php 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
Перестаю работать домены 1.xx.ru, 2.xx.ru с ошибкой: авторInternal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@xx.ru 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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Я делаю каталог xx.ru/publich_html/catalog и туда кладу файл .htaccess (xx.ru/publich_html/catalog/.htaccess) с указанным выше содержанием. Когда открываю адрес xx.ru/catalog в браузере, то получаю такое содержание: авторForbidden You don't have permission to access /catalog/ on this server. Добавляю в директорию файл index.php, то его содержание открывается. Файл htaccess не работает в директории xx.ru/publich_html/catalog/. У меня нет доступа к серверу, это виртуальный хостинг. Подскажите как настроить чтобы файл .htaccess работал в директории .../catalog/ ? ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=25&tablet=1&tid=1481993]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
35ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
39ms |
get tp. blocked users: |
2ms |
others: | 12ms |
total: | 134ms |
0 / 0 |