<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
  <channel>
    <title>Настройка веб-сервера</title>
    <description>Настройка DNS, установка Apache, nginx и т.д.</description>
    <pubDate>Sat, 18 Apr 2026 12:53:48 +0000</pubDate>
    <lastBuildDate>Sat, 18 Apr 2026 12:53:48 +0000</lastBuildDate>
    <generator>Форум PHP Программистов | PHP.ru</generator>
    <link>https://php.ru/forum/forums/nastrojka-veb-servera.41/</link>
    <atom:link rel="self" type="application/rss+xml" href="https://php.ru/forum/forums/nastrojka-veb-servera.41/index.rss"/>
    <item>
      <title>Как переместить файлы по ssh?</title>
      <pubDate>Tue, 06 May 2025 07:02:55 +0000</pubDate>
      <link>https://php.ru/forum/threads/kak-peremestit-fajly-po-ssh.103169/</link>
      <guid>https://php.ru/forum/threads/kak-peremestit-fajly-po-ssh.103169/</guid>
      <author>invalid@example.com (vitaangela)</author>
      <dc:creator>vitaangela</dc:creator>
      <content:encoded><![CDATA[1) Я выполнила команду cd /home/user/web/site.com/public_html/home/user/web/site.ru/public_html - этой командой я перехожу в каталог откуда хочу перенести файлы. <br />
2) далее я ввожу: mv public_html /home/user/web/site.com/public_html/ - этой командой я перемещаю public_html в /home/user/web/sitecom/public_html/ <br />
3) Вылетает ошибка No such file or directory<br />
<br />
в чем дело?]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Стенд для разработки сайта</title>
      <pubDate>Sat, 28 Dec 2024 04:40:37 +0000</pubDate>
      <link>https://php.ru/forum/threads/stend-dlja-razrabotki-sajta.102997/</link>
      <guid>https://php.ru/forum/threads/stend-dlja-razrabotki-sajta.102997/</guid>
      <author>invalid@example.com (voii)</author>
      <dc:creator>voii</dc:creator>
      <content:encoded><![CDATA[Всем привет!<br />
Вопрос немного не конкретно по Yii2, а скорее о организации работы.<br />
<br />
Вопрос в том как сделать копию сайта для отладки и чтобы не навредить сео?<br />
Т.е. есть боевой сайт (vps), есть локальная среда разработки, хочу развернуть еще сайт копию, чтобы были доступны инструменты типа <a href="https://pagespeed.web.dev/" target="_blank" class="externalLink" rel="nofollow">https://pagespeed.web.dev/</a> и т.д.<br />
<br />
Кто какие схемы применяет, поделитесь?]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Алиас или проксирование</title>
      <pubDate>Fri, 09 Aug 2024 12:10:38 +0000</pubDate>
      <link>https://php.ru/forum/threads/alias-ili-proksirovanie.102524/</link>
      <guid>https://php.ru/forum/threads/alias-ili-proksirovanie.102524/</guid>
      <author>invalid@example.com (3d_killer)</author>
      <dc:creator>3d_killer</dc:creator>
      <content:encoded><![CDATA[Привет всем не могу разобраться как правильно сделать алиас<br />
есть веб сервер на апачи2 там крутится сайт site.ru к примеру и есть второй сервис на этом же сервере с внешним ip, мне нужно чтобы при переходе на site.ru/docs открывалась страничка 192.192.192.192:8080 (это типо документации) и далее могут быть разные адреса 192.192.192.192:8080/1 192.192.192.192:8080/2<br />
в httaccess написал такой код<br />
RewriteRule ^docs/(.*)$ <a href="http://192.192.192.192:8080/" target="_blank" class="externalLink" rel="nofollow">http://192.192.192.192:8080/</a> [L]<br />
он работает, но меняет адресную...<br />
<br />
<a href="https://php.ru/forum/threads/alias-ili-proksirovanie.102524/" class="internalLink">Алиас или проксирование</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Построение регулярных выражений для отображения ЧПУ (friendly url) через .htaccess</title>
      <pubDate>Wed, 01 May 2024 02:07:44 +0000</pubDate>
      <link>https://php.ru/forum/threads/postroenie-reguljarnyx-vyrazhenij-dlja-otobrazhenija-chpu-friendly-url-cherez-htaccess.102247/</link>
      <guid>https://php.ru/forum/threads/postroenie-reguljarnyx-vyrazhenij-dlja-otobrazhenija-chpu-friendly-url-cherez-htaccess.102247/</guid>
      <author>invalid@example.com (Programmed)</author>
      <dc:creator>Programmed</dc:creator>
      <content:encoded><![CDATA[Привет всем разработчикам!<br />
<br />
Пытаюсь построить регулярное выражение для отображения ЧПУ (friendly url) на сайте.<br />
<br />
Сейчас в адресной строке у меня примерно вот что:<br />
<br />
<a href="http://python4all.ru/index.php?option=com_erp&amp;plugin=goods&amp;act=showitem&amp;id=3&amp;en_name=basic_python" target="_blank" class="externalLink" rel="nofollow">http://python4all.ru/index.php?option=com_erp&amp;plugin=goods&amp;act=showitem&amp;id=3&amp;en_name=basic_python</a><br />
<br />
А нужно, чтоб было:<br />
<br />
<a href="http://python4all.ru/basic_python" target="_blank" class="externalLink" rel="nofollow">http://python4all.ru/basic_python</a><br />
<br />
Я добавил в .htaccess регулярное выражение вида:<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Код (Text):</div>
	<div class="code"><ol class="text" style="font-family:monospace;"><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">RewriteRule ^([a-z0-9\-\_]+)/([a-z0-9\-\_]+)/$...</div></li>
</ol></div>
</div><a href="https://php.ru/forum/threads/postroenie-reguljarnyx-vyrazhenij-dlja-otobrazhenija-chpu-friendly-url-cherez-htaccess.102247/" class="internalLink">Построение регулярных выражений для отображения ЧПУ (friendly url) через .htaccess</a>]]></content:encoded>
      <slash:comments>19</slash:comments>
    </item>
    <item>
      <title>переезд vds c установленным perl(((</title>
      <pubDate>Thu, 25 Apr 2024 15:20:56 +0000</pubDate>
      <link>https://php.ru/forum/threads/pereezd-vds-c-ustanovlennym-perl.102248/</link>
      <guid>https://php.ru/forum/threads/pereezd-vds-c-ustanovlennym-perl.102248/</guid>
      <author>invalid@example.com (Евгений Владимирович)</author>
      <dc:creator>Евгений Владимирович</dc:creator>
      <content:encoded><![CDATA[Возникла необходимость переезда на другой vds<br />
есть ли утилиты, позволяющие создать полный клон сервера??<br />
никогда не имел дело с perl<br />
нужно перенести сайт на perl, но не знаю даже с чего начать<br />
Собственно сам perl я накатил на сервер<br />
сами файлы скопировал<br />
конечно, есть доступ к ssh, но особо в нем не силен<br />
Кто может сказать как быстрее это дело все можно перенести,?<br />
и посмотреть библиотеки которые настроены<br />
думаю сайт древний и нужно установить древний perl по аналогии с php?<br />
но как узнать...<br />
<br />
<a href="https://php.ru/forum/threads/pereezd-vds-c-ustanovlennym-perl.102248/" class="internalLink">переезд vds c установленным perl(((</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>PHP скрипт открывается как текст и не выполняется.</title>
      <pubDate>Fri, 22 Mar 2024 03:14:27 +0000</pubDate>
      <link>https://php.ru/forum/threads/php-skript-otkryvaetsja-kak-tekst-i-ne-vypolnjaetsja.102161/</link>
      <guid>https://php.ru/forum/threads/php-skript-otkryvaetsja-kak-tekst-i-ne-vypolnjaetsja.102161/</guid>
      <author>invalid@example.com (tmpnik)</author>
      <dc:creator>tmpnik</dc:creator>
      <content:encoded><![CDATA[Здравствуйте, при установки апача и затем php 7, тестовый /var/www/html/index.php скрипт(phpinfo) нормально выполняется. Но затем копирую этот файл в другое место, прописываю путь по умолчанию к этому месту, и в браузере выводится текст этого скрипта и скрипт не выполняется. Как можно решить проблему?]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>phpinfo не видит переменную.</title>
      <pubDate>Tue, 12 Mar 2024 04:03:14 +0000</pubDate>
      <link>https://php.ru/forum/threads/phpinfo-ne-vidit-peremennuju.102113/</link>
      <guid>https://php.ru/forum/threads/phpinfo-ne-vidit-peremennuju.102113/</guid>
      <author>invalid@example.com (Sergey1978)</author>
      <dc:creator>Sergey1978</dc:creator>
      <content:encoded><![CDATA[Добрый день. Есть проблема в добавлении переменной в httpd, ее не видно в поле environment phpinfo.<br />
Делаю следующим образом- в <b>/etc/sysconfig</b> создаю файл httpd в нем указываю переменную X=Y и в файле <b>/usr/lib/systemd/system/httpd.service</b> указываю на нее -  <br />
<b>EnvironmentFile=/etc/sysconfig/httpd</b> . Что еще нужно сделать, чтобы исправить проблему ? Версия линукс RHEL 9.3, php на нем - 8.3.3  Буду благодарен за помощь.]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Что значит опция apache NameVirtualHost 80</title>
      <pubDate>Wed, 21 Feb 2024 11:07:53 +0000</pubDate>
      <link>https://php.ru/forum/threads/chto-znachit-opcija-apache-namevirtualhost-80.102084/</link>
      <guid>https://php.ru/forum/threads/chto-znachit-opcija-apache-namevirtualhost-80.102084/</guid>
      <author>invalid@example.com (tmpnik)</author>
      <dc:creator>tmpnik</dc:creator>
      <content:encoded><![CDATA[Здравствуйте, в конфиге апача есть такая опция<br />
NameVirtualHost 80<br />
Include vhosts/<br />
Меня смущает, что должно быть написано<br />
NameVirtualHost *80 или NameVirtualHost *:80<br />
но написано именно NameVirtualHost 80 и в include каталоге vhosts/ нет такого имени, но есть подкаталог, где находятся два файла с настройками сайтов, но он не идёт по пути DocumentRoot, а идёт по пути по умолчанию.<br />
Поэтому и вопрос, правильно ли отрабатывает опция NameVirtualHost 80]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Htaccess - хочу выводить css через php</title>
      <pubDate>Wed, 18 Oct 2023 08:18:34 +0000</pubDate>
      <link>https://php.ru/forum/threads/htaccess-xochu-vyvodit-css-cherez-php.101821/</link>
      <guid>https://php.ru/forum/threads/htaccess-xochu-vyvodit-css-cherez-php.101821/</guid>
      <author>invalid@example.com (processsor)</author>
      <dc:creator>processsor</dc:creator>
      <content:encoded><![CDATA[Хочу скрыть папку где лежит фаил css и js.<br />
<br />
Например он лежит тут :    site.com / template / file.css<br />
<br />
Хочу чтобы про TEMPLATE никто не узнал и чтобы file.css загружался по адресу:  site.com / file.css<br />
<br />
2 варианта<br />
<br />
1) както прямо это сделать через htaccess, чтобы он подставлял этот фаил<br />
2) направить на php скрипт, который уже выдаст file.css .  это хуже но как вариант.<br />
<br />
Причем условие еще - чтобы все остальные  css и js загружались по прямым ссылками как по дефолту.<br />
<br />
Как же это сделать ?]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Поделитесь опытом как на сайтах малой и средней крутости делают рассылку почты (сброс пароля, подтве</title>
      <pubDate>Wed, 09 Aug 2023 08:50:21 +0000</pubDate>
      <link>https://php.ru/forum/threads/podelites-opytom-kak-na-sajtax-maloj-i-srednej-krutosti-delajut-rassylku-pochty-sbros-parolja-podtve.101640/</link>
      <guid>https://php.ru/forum/threads/podelites-opytom-kak-na-sajtax-maloj-i-srednej-krutosti-delajut-rassylku-pochty-sbros-parolja-podtve.101640/</guid>
      <author>invalid@example.com (clop1000)</author>
      <dc:creator>clop1000</dc:creator>
      <content:encoded><![CDATA[Каким образом обычно такую почту отправлют? Через STMP провайдера?<br />
<br />
Или свой поднимают? (какие?)<br />
<br />
Или используют ресурсы типа senditblue?<br />
<br />
Какие подводные ками с этим? (ну например что почта не доходит из за низкой известности домена и т.д., и попадает в спам).]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>WebSocket</title>
      <pubDate>Sat, 15 Jul 2023 01:37:19 +0000</pubDate>
      <link>https://php.ru/forum/threads/websocket.101595/</link>
      <guid>https://php.ru/forum/threads/websocket.101595/</guid>
      <author>invalid@example.com (テムルマル AI)</author>
      <dc:creator>テムルマル AI</dc:creator>
      <content:encoded><![CDATA[Помогите пожалуйста настроить websocket в виртуальном хостинге, можете подсказать как это сделать, то есть нужно чтоб мой клиент мог установить соединение &quot;ws:localhost:8080&quot;]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Как сделать поддомены из одной и той же папки</title>
      <pubDate>Mon, 26 Jun 2023 02:57:10 +0000</pubDate>
      <link>https://php.ru/forum/threads/kak-sdelat-poddomeny-iz-odnoj-i-toj-zhe-papki.101544/</link>
      <guid>https://php.ru/forum/threads/kak-sdelat-poddomeny-iz-odnoj-i-toj-zhe-papki.101544/</guid>
      <author>invalid@example.com (rosss)</author>
      <dc:creator>rosss</dc:creator>
      <content:encoded><![CDATA[Создал настройку на сервере, но по какой то причине основной домен тоже открывается из подпапки для поддоменов. Как сделать чтобы из папки открывались только поддомены<br />
<br />
<br />
&lt;VirtualHost 127.0.0.1:8080&gt;<br />
    ServerName sanmeypp.ru<br />
    DocumentRoot /var/www/www-root/data/www/goodsforsale<br />
    ServerAdmin <a href="mailto:webmaster@sanmeypp.ru">webmaster@sanmeypp.ru</a><br />
    AddDefaultCharset off<br />
    AssignUserID www-root www-root<br />
    CustomLog /var/www/httpd-logs/sanmeypp.ru.access.log combined<br />
    ErrorLog...<br />
<br />
<a href="https://php.ru/forum/threads/kak-sdelat-poddomeny-iz-odnoj-i-toj-zhe-papki.101544/" class="internalLink">Как сделать поддомены из одной и той же папки</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>Настройка Phalcon</title>
      <pubDate>Thu, 15 Jun 2023 08:57:21 +0000</pubDate>
      <link>https://php.ru/forum/threads/nastrojka-phalcon.101512/</link>
      <guid>https://php.ru/forum/threads/nastrojka-phalcon.101512/</guid>
      <author>invalid@example.com (Ученик02)</author>
      <dc:creator>Ученик02</dc:creator>
      <content:encoded><![CDATA[Доброго времени суток. Проблема состоит в следующем. У меня стоит openserver на него установил расширение phalcon.<br />
В php.ini добавил расширения, в списке он появился<img src="https://ibb.co/1nqs8T7" class="bbCodeImage LbImage" alt="[&#x200B;IMG]" data-url="https://ibb.co/1nqs8T7" /><br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Код (Text):</div>
	<div class="code"><ol class="text" style="font-family:monospace;"><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">public function __construct()</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; {</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; if (!class_exists('\Phalcon\Version'))</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; throw new \Exception('Phalcon extensions not loaded');</div></li>
<li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; $version = Version::getPart(Version::VERSION_MAJOR);</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; if ($version &lt; 3)</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; throw new \Exception('Required Phalcon...</div></li>
</ol></div>
</div><a href="https://php.ru/forum/threads/nastrojka-phalcon.101512/" class="internalLink">Настройка Phalcon</a>]]></content:encoded>
      <slash:comments>7</slash:comments>
    </item>
    <item>
      <title>Ошибка Forbidden 403</title>
      <pubDate>Sun, 30 Apr 2023 13:27:35 +0000</pubDate>
      <link>https://php.ru/forum/threads/oshibka-forbidden-403.101387/</link>
      <guid>https://php.ru/forum/threads/oshibka-forbidden-403.101387/</guid>
      <author>invalid@example.com (wol4ok100)</author>
      <dc:creator>wol4ok100</dc:creator>
      <content:encoded><![CDATA[Здравствуйте. Помогите пожалуйста. Переехали на новый хостинг и при нажатии некоторых кнопок или ссылок пишет данную ошибку: <br />
&quot;<b><span style="font-size: 22px">Forbidden</span></b><br />
You don&#039;t have permission to access this resource.<br />
<br />
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.<br />
&quot;<br />
Выдача прав на каталоги 755 и даже 777 не помогает, на файлы 644 и даже 777, тоже не помогает. Код файла htaccess прогоняли даже через нейронную сеть, пишет что сам код в...<br />
<br />
<a href="https://php.ru/forum/threads/oshibka-forbidden-403.101387/" class="internalLink">Ошибка Forbidden 403</a>]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Настроить .htaccess во втором каталоге</title>
      <pubDate>Sun, 30 Apr 2023 12:32:56 +0000</pubDate>
      <link>https://php.ru/forum/threads/nastroit-htaccess-vo-vtorom-kataloge.101401/</link>
      <guid>https://php.ru/forum/threads/nastroit-htaccess-vo-vtorom-kataloge.101401/</guid>
      <author>invalid@example.com (Ivan707)</author>
      <dc:creator>Ivan707</dc:creator>
      <content:encoded><![CDATA[Добрый день.. Подскажите пожалуйста! Помогите<br />
Есть два файла .htaccess. Первый - это корень сайта на хостинге. В ней .htaccess с таким кодом:<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Код (Text):</div>
	<div class="code"><ol class="text" style="font-family:monospace;"><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&lt;IfModule mod_rewrite.c&gt;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">RewriteEngine On</div></li>
<li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">RewriteRule ^(.*) public/$1 [L]</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&lt;/IfModule&gt;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
</ol></div>
</div>И папка public в корне сайта. В ней файл .htaccess с кодом:<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Код (Text):</div>
	<div class="code"><ol class="text" style="font-family:monospace;"><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&lt;IfModule mod_rewrite.c&gt;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">RewriteEngine On</div></li>
<li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">RewriteCond %{SERVER_PORT} !^443$ [OR]</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">RewriteCond %{THE_REQUEST} &quot;^\S+ /(index\.php|public/)&quot;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">RewriteRule ^index\.php|(.*)...</div></li>
</ol></div>
</div><a href="https://php.ru/forum/threads/nastroit-htaccess-vo-vtorom-kataloge.101401/" class="internalLink">Настроить .htaccess во втором каталоге</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>openserver не запускается</title>
      <pubDate>Thu, 23 Mar 2023 15:59:38 +0000</pubDate>
      <link>https://php.ru/forum/threads/openserver-ne-zapuskaetsja.101264/</link>
      <guid>https://php.ru/forum/threads/openserver-ne-zapuskaetsja.101264/</guid>
      <author>invalid@example.com (riaron)</author>
      <dc:creator>riaron</dc:creator>
      <content:encoded><![CDATA[Не удалось запустить Apache_2.4-PHP_8.0-8.1+Nginx_1.23<br />
Не удалось запустить MySQL-8.0-Win10<br />
 Сбой запуска!<br />
<br />
apache <br />
<br />
[ssl:warn] [pid 8812:tid 348] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]<br />
[mpm_winnt:notice] [pid 8812:tid 348] AH00455: Apache/2.4.54 (Win64) OpenSSL/3.0.5 configured -- resuming normal operations<br />
[mpm_winnt:notice] [pid 8812:tid 348] AH00456: Server built: Jul 26 2022 23:58:26<br />
[core:notice] [pid 8812:tid 348] AH00094: Command line:...<br />
<br />
<a href="https://php.ru/forum/threads/openserver-ne-zapuskaetsja.101264/" class="internalLink">openserver не запускается</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>bash скрипт, бэкап бд</title>
      <pubDate>Tue, 28 Feb 2023 16:49:38 +0000</pubDate>
      <link>https://php.ru/forum/threads/bash-skript-behkap-bd.101160/</link>
      <guid>https://php.ru/forum/threads/bash-skript-behkap-bd.101160/</guid>
      <author>invalid@example.com (Survivor)</author>
      <dc:creator>Survivor</dc:creator>
      <content:encoded><![CDATA[Доброго времени суток! <br />
<br />
Есть два bash скрипта, задача которых делать бэкап базы данных.<br />
<br />
Скрипты сделал исполняемыми<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Код (Text):</div>
	<div class="code"><ol class="text" style="font-family:monospace;"><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">sudo chmod +x</div></li>
</ol></div>
</div>Папки backup, и сами скрипты недоступны из веб.<br />
<br />
1) Раз в 6 часов. Бэкап определенных таблиц.<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Код (Text):</div>
	<div class="code"><ol class="text" style="font-family:monospace;"><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">#!/bin/bash</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">filename=table_1+table_2_tables_`date +%F-%H_%M_%S`.sql</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">nice mysqldump -u USER -p'PASSWORD' DATABASE table_1 table_2 &gt; /home/backup/table_1+table_2_tables/$filename;</div></li>
<li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">cd /home/backup/table_1+table_2_tables;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rm $(ls -t...</div></li>
</ol></div>
</div><a href="https://php.ru/forum/threads/bash-skript-behkap-bd.101160/" class="internalLink">bash скрипт, бэкап бд</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Помогите с редиректом через .htaccess</title>
      <pubDate>Thu, 09 Feb 2023 16:05:36 +0000</pubDate>
      <link>https://php.ru/forum/threads/pomogite-s-redirektom-cherez-htaccess.101054/</link>
      <guid>https://php.ru/forum/threads/pomogite-s-redirektom-cherez-htaccess.101054/</guid>
      <author>invalid@example.com (sas)</author>
      <dc:creator>sas</dc:creator>
      <content:encoded><![CDATA[Делаю редирект с utm меток вот так:<br />
<br />
RewriteCond %{QUERY_STRING} ^utm_source=.*&amp;utm_medium=.*$<br />
<br />
Обычные урлы обрабатывает. А если в урле есть якорная ссылка, то не срабатывает. Например qqqqqqq.html#i-3?utm_source=yandex&amp;utm_medium=cpc&amp;utm_campaign=68141595&amp;utm_content=11829548_kho6j2&amp;utm_term=8ah7jxe<br />
<br />
Подскажите, как поправить условие?]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Roxi-wi для Haproxy удалось ли кому установить?</title>
      <pubDate>Fri, 23 Dec 2022 00:58:17 +0000</pubDate>
      <link>https://php.ru/forum/threads/roxi-wi-dlja-haproxy-udalos-li-komu-ustanovit.100588/</link>
      <guid>https://php.ru/forum/threads/roxi-wi-dlja-haproxy-udalos-li-komu-ustanovit.100588/</guid>
      <author>invalid@example.com (Vaska)</author>
      <dc:creator>Vaska</dc:creator>
      <content:encoded><![CDATA[Приветствую!<br />
Пытаюсь установить Roxi-wi для Haproxy на виртуалку Hyper-v с Ubunta 22.04 LTS, с пропатченным ядром для Azure.<br />
Убунту установил, пропатчил linux-azure, но так и не удается установить Roxi-wi.<br />
Ставлю по этому мануалу <a href="https://unixcop.com/how-to-install-roxy-wi-on-ubuntu-a-gui-management-server-for-ha-proxy-nginx-and-keepalived/" target="_blank" class="externalLink" rel="nofollow">https://unixcop.com/how-to-install-...ent-server-for-ha-proxy-nginx-and-keepalived/</a><br />
На самом последнем шаге, на команде создания базы данных для Roxi-wi:<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Код (Text):</div>
	<div class="code"><ol class="text" style="font-family:monospace;"><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$ ./create_db.py</div></li>
</ol></div>
</div>получаю ошибки:...<br />
<br />
<a href="https://php.ru/forum/threads/roxi-wi-dlja-haproxy-udalos-li-komu-ustanovit.100588/" class="internalLink">Roxi-wi для Haproxy удалось ли кому установить?</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>Подскажите по RewriteRule</title>
      <pubDate>Wed, 14 Dec 2022 15:53:05 +0000</pubDate>
      <link>https://php.ru/forum/threads/podskazhite-po-rewriterule.100764/</link>
      <guid>https://php.ru/forum/threads/podskazhite-po-rewriterule.100764/</guid>
      <author>invalid@example.com (Retox)</author>
      <dc:creator>Retox</dc:creator>
      <content:encoded><![CDATA[--- Добавлено ---А всё разобрался, лишний слеш в RewriteRule ^/sort_by_date/$<br />
тему можно удалить.]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
  </channel>
</rss>
