Новости Joomla

Как тестировать Joomla PHP-разработчику? Компонент Patch tester.

👩‍💻 Как тестировать Joomla PHP-разработчику? Компонент Patch tester.Joomla - open source PHP-фреймворк с готовой админкой. Его основная разработка ведётся на GitHub. Для того, чтобы международному сообществу разработчиков было удобнее тестировать Pull Requests был создан компонент Patch Tester, который позволяет "накатить" на текущую установку Joomla именно те изменения, которые необходимо протестировать. На стороне инфраструктуры Joomla для каждого PR собираются готовые пакеты, в которых находится ядро + предложенные изменения. В каждом PR обычно находятся инструкции по тестированию: куда зайти, что нажать, ожидаемый результат. Тестировщики могут предположить дополнительные сценарии, исходя из своего опыта и найти баги, о которых сообщить разработчику. Или не найти, и тогда улучшение или исправление ошибки быстрее войдёт в ядро Joomla. Напомню, что для того, чтобы PR вошёл в ядро Joomla нужны минимум 2 положительных теста от 2 участников сообщества, кроме автора. Видео на YouTubeВидео на VK ВидеоВидео на RuTubeКомпонент на GitHub https://github.com/joomla-extensions/patchtester@joomlafeed#joomla #php #webdev #community

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

bronepoezd27

  • Захожу иногда
  • 233
  • 1 / 1
Всем доброго времени суток!
CMS: Joomla 2.5
Имеется сайт: http://nsservice.ru/
Проверяю код ответа, дает вот что:
HTTP/1.1 403 Forbidden
Date: Thu, 02 Apr 2015 16:01:55 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1

Пишет, что файл Robots.txt - не найден!

Я страницы не запрещал никакие, вебмастеры вроде не ругаются, в чем может быть проблема?
Заранее благодарен за ответы!
*

bronepoezd27

  • Захожу иногда
  • 233
  • 1 / 1
Re: Почему сайт дает код ответа 403?
« Ответ #1 : 02.04.2015, 19:21:45 »
Вот мой .htaccess на всякий случай:

Код
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2013 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 just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your SEF url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
##

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out 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 homepage
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 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 request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# 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.
<IfModule mod_headers.c>
<FilesMatch “\.(js|css|xml|jpg|jpeg|gif|png|ico|gz)$”>
Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
Header append Vary User-Agent
Redirect 301 /parikmaher-spb http://nsservice.ru/parikmaher-na-domu-spb
Redirect 301 /svadebnaya-pricheska-spb http://nsservice.ru/svadebnaya-pricheska-i-makiyazh
Redirect 301 /nogtevoj-servis-spb-2/17-vakansii http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis-spb-2/19-kosmetologiya-spb http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis-spb-2/21-mastera http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis-spb-2/15-vizazh-spb http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis-spb-2/13-vyezdnoj-salon-krasoty-spb/18-depilyaciya-spb-3 http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis-spb-2/20-svadebnyy-fotograf-spb http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis-spb-2/16-otzyvy http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis-spb-2/18-narashchivaniye-resnits http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis/strizhka-spb http://nsservice.ru/nogtevoj-servis
Redirect 301 /13-home/18-home http://nsservice.ru
Redirect 301 /svadebnyy-fotograf-spb http://nsservice.ru/svadebnaya-pricheska-i-makiyazh
Redirect 301 /nogtevoj-servis-spb-2 http://nsservice.ru/nogtevoj-servis
Redirect 301 /nogtevoj-servis-spb http://nsservice.ru/nogtevoj-servis
Redirect 301 /depilyaciya-spb http://nsservice.ru/depilyatsiya
Redirect 301 /vizazh-spb http://nsservice.ru/vizazhist-spb
Redirect 301 /svadebnaya-pricheska-i-makiyazh http://nsservice.ru/svadebnye-pricheski-i-makiyazh
RewriteCond %{HTTP_HOST} ^nsserru.hostfabrica.ru$
 RewriteRule (.*) http://nsservice.ru/$1
</IfModule>

И Robots.txt:

Код
# If the Joomla site is installed within a folder such as at
# e.g. www.example.com/joomla/ the robots.txt file MUST be
# moved to the site root at e.g. www.example.com/robots.txt
# AND the Joomla folder name MUST be prefixed to the disallowed
# path, e.g. the Disallow rule for the /administrator/ folder
# MUST be changed to read Disallow: /joomla/administrator/
#
# For more information about the robots.txt standard, see:
# http://www.robotstxt.org/orig.html
#
# For syntax checking, see:
# http://www.sxw.org.uk/computing/robots/check.html

User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /cli/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /libraries/
Disallow: /logs/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/

User-agent: Yandex
Allow: /
Sitemap: http://nsservice.ru/index.php?option=com_xmap&view=xml&tmpl=component&id=1
*

voland

  • Легенда
  • 11026
  • 588 / 112
  • Эта строка съедает место на вашем мониторе
*

bronepoezd27

  • Захожу иногда
  • 233
  • 1 / 1
Re: Почему сайт дает код ответа 403?
« Ответ #3 : 02.04.2015, 19:54:50 »
*

wishlight

  • Гуру
  • 5076
  • 320 / 1
  • От 300 руб быстрый хостинг. Сервера.
Re: Почему сайт дает код ответа 403??
« Ответ #4 : 02.04.2015, 20:04:05 »
А вот другой сервис показал ответ 200. Вполне возможно айпи http://mainspy.ru/otvet_servera просто забанен у вашего хостера.


http://www.cy-pr.com/tools/header/

http://www.bertal.ru/
« Последнее редактирование: 02.04.2015, 20:08:42 от wishlight »
*

voland

  • Легенда
  • 11026
  • 588 / 112
  • Эта строка съедает место на вашем мониторе
Re: Почему сайт дает код ответа 403?
« Ответ #5 : 02.04.2015, 20:07:27 »
Хороший хостинг, правильно банит всякие левые сайты.
*

Mitrich

  • Захожу иногда
  • 289
  • 524 / 13
  • Все можно. Но сначала учиться, учиться и учиться.
Re: Почему сайт дает код ответа 403?
« Ответ #6 : 02.04.2015, 22:11:07 »
Простая проверка, чтобы быть спокойным.
Открываем пустую вкладку в Chrome
Жмем F12
Потом выбираем Network >> Document
В адресную строку пишем URL сайта
Enter

И смотрим на статус ответа
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Установка виджета Яндекс Дистрибуции на сайт

Автор Anik

Ответов: 14
Просмотров: 4279
Последний ответ 22.12.2022, 16:56:10
от Anik
Почему в админке Joomla 2.58 - у меня 16 админов показывает?

Автор dyalex

Ответов: 7
Просмотров: 15583
Последний ответ 27.10.2022, 19:03:45
от marksetter
Проблема с логином на сайт через Iphone

Автор AdmiralSFF

Ответов: 4
Просмотров: 2664
Последний ответ 13.08.2022, 13:19:41
от AdmiralSFF
При включении плагина "Система - фильтр языка" сайт не открывается

Автор Aurika

Ответов: 4
Просмотров: 4342
Последний ответ 25.06.2022, 14:14:40
от ecolora
Не встраивается видео с YouTube на сайт

Автор 62411

Ответов: 6
Просмотров: 1857
Последний ответ 02.08.2020, 09:07:22
от wishlight