Новости Joomla

Joomla 6 нуждается в вашей помощи с тестированием.Вышел недавно релиз Joomla 6 alpha1

Joomla 6 нуждается в вашей помощи с тестированием.Вышел недавно релиз Joomla 6 alpha1

👩‍💻 Joomla 6 нуждается в вашей помощи с тестированием.Вышел недавно релиз Joomla 6 alpha1. Это релиз, в который включены уже проверенные изменения, но ещё очень многие исправления и улучшения ждут своей очереди. Joomla следит за качеством и безопасностью своего кода и каждое изменение должно быть успешно протестировано как минимум ещё двумя участниками сообщества. Разработка Joomla ведётся на платформе GitHub.Филипп Уолтон (Philip Walton) - один из разработчиков, кто активно вносит свой вклад в ядро Joomla. Он уже несколько месяцев посвящает свои послеполуденные часы пятницы работе с Joomla и предлагает присоединиться к нему. 📆 Пятница, 30 мая 2025, с 15:00 до 17:00 по UTC (Лондон) - с 18:00 до 20:00 по Москве.В чате Google Meet Филипп готов помочь с тестированием тем, кто будет делать это в первый раз. А так же он подготовил список лёгких Pull Request, которые можно протестировать довольно быстро. Чем больше тестов будет проведено сейчас, тем меньше ошибок вылезет потом. На данный момент 148 (уже 147 на момент написания заметки) PR на GitHub Joomla ждут тестирования.👩‍💻 Open to all. All together.Также вам поможет сделать первые шаги это видео.GitHub JoomlaДа, это вечер пятницы. Но тестирование занимает порой минут 15, а доброе дело сделано. Просто убедитесь, что разработчик чего-то не пропустил и всё работает как ожидается.#joomla #joomla6 #community

0 Пользователей и 1 Гость просматривают эту тему.
  • 0 Ответов
  • 1566 Просмотров
*

geomant

  • Новичок
  • 2
  • 0 / 0
При заходе на "//test.site.ru/administrator" перебрасывает на главную страницу "//test.site.ru".
Скриптов защиты нет. Установлена чистая Joomja 3.9.13.

Перебрасывает после того как закрываю паролем каталог "test.site.ru/administrator/", создав в нём файл ".htaccess" с содержимым:
Цитировать
AuthName "Enter login"
AuthType Basic
AuthUserFile /home/userхxx/.htpasswd
require valid-user

(по инструкции с сайта //joomlatown.net/blog/zaschita-i-bezopasnost/kak-sdelat-basic-avtorizaciyu-cherez-htaccess

При установке пароля на папку "//test.site.ru/admininstrator" через cPanel также выбрасывает на главную.

При удалении ".htaccess" в корне "//test.site.ru" Basic защита запрашивает имя и пароль и всё работает.


Что нужно добавить в ".htaccess" из корня сайта (стандартный файл из коробки)?

Содержимое  ".htaccess":
Цитировать
##
# @package    Joomla
# @copyright  Copyright (C) 2005 - 2019 Open Source Matters. All rights reserved.
# @license    GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line 'Options +FollowSymLinks' may cause problems with some server configurations.
# It is required for the use of Apache mod_rewrite, but it may have already been set by
# your server administrator in a way that disallows changing it in this .htaccess file.
# If using it causes your site to produce an error, comment it out (add # to the
# beginning of the line), reload your site in your browser and test your SEF urls. If
# they work, then it has been set by your server administrator and you do not need to
# set it here.
##

## No directory listings
<IfModule autoindex>
  IndexIgnore *
</IfModule>

## Suppress mime type detection in browsers for unknown types
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
</IfModule>

## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks
Options -Indexes

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site then comment out the operations listed
# below by adding a # to the beginning of the line.
# This attempts to block the most common type of exploit `attempts` on Joomla!
#
# Block any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root home page
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

##
# Uncomment the following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##

# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.







Upd - РЕШЕНО
Добавил в файлы .htaccess (в папке administrator) и .htpasswd
строку
ErrorDocument 401 "Authorisation Required"
« Последнее редактирование: 23.11.2019, 08:52:43 от geomant »
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Как склеить главную страницу?

Автор Zegeberg

Ответов: 4
Просмотров: 869
Последний ответ 24.07.2023, 10:57:34
от fsv
Как сделать универсальный редирект в htaccess?

Автор Lemonez

Ответов: 3
Просмотров: 848
Последний ответ 16.02.2022, 00:38:09
от gartes
Ошибка названия при открытии Joomla через локальный сервер

Автор Treant

Ответов: 7
Просмотров: 1166
Последний ответ 27.04.2020, 15:00:27
от SeBun
Редирект на главную при входе в админку

Автор QuickSilver_92

Ответов: 19
Просмотров: 4859
Последний ответ 24.04.2020, 22:09:09
от SeBun
Права доступа на файлы и папки для обновления

Автор system1024

Ответов: 6
Просмотров: 2875
Последний ответ 20.12.2019, 11:01:26
от Matinaz