потратил пару часов, копая в Google и устранение неполадок. Кажется, я не могу понять, что происходит. Что касается задней части, все работает нормально. Конфигурация сайта изменяется. Временный файл со строкой изготовлен и может быть доступен другим компьютером, используя временный URL. Browserling.com получает подсказку аутентификации сервера при просмотре какого -либо HTTP URL -адреса для сайта, но ни один из моих устройств не получает эту подсказку в локальной сети или за пределами локальной сети. Letsdebug.net получает ошибку 401. Я думаю, что это могло вызвать «небольшую проблему» где -то. Мой сайт конфигурация супер базовая. Нет перенаправления. У HTTP и HTTP есть следующее: < /p>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /media...
DirectoryIndex index.html index.php
ServerName example.com
ServerAlias www.example.com
#Options FollowSymlinks
#AllowOverride None
Require all granted
Options Indexes FollowSymLinks MultiViews
AllowOverride All
allow from all
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /media...
DirectoryIndex index.html index.php
ServerName example.com
ServerAlias www.example.com
Options Indexes FollowSymlinks MultiViews
AllowOverride All
Allow from all
Require all granted
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
#RewriteEngine on
#RewriteCond %{SERVER_NAME} =www.example.com [OR]
#RewriteCond %{SERVER_NAME} =example.com
#RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
< /code>
Как я могу отследить, что вызывает ошибку 401? Если бы я был в IIS, я бы подумал, что это была файловая вещь. Это возможно здесь? Я также читал, что может быть возможность для IP -блоков, но я не добавил ничего, чтобы сделать это, если только на сервере Ubuntu нет новых вещей, о которых я не знаю.
Подробнее здесь: https://stackoverflow.com/questions/795 ... ts-encrypt
Apache 401 несанкционированная ошибка во время Acme Challenge Давайте зашифруем ⇐ Apache
1741845839
Anonymous
потратил пару часов, копая в Google и устранение неполадок. Кажется, я не могу понять, что происходит. Что касается задней части, все работает нормально. Конфигурация сайта изменяется. Временный файл со строкой изготовлен и может быть доступен другим компьютером, используя временный URL. Browserling.com получает подсказку аутентификации сервера при просмотре какого -либо HTTP URL -адреса для сайта, но ни один из моих устройств не получает эту подсказку в локальной сети или за пределами локальной сети. Letsdebug.net получает ошибку 401. Я думаю, что это могло вызвать «небольшую проблему» где -то. Мой сайт конфигурация супер базовая. Нет перенаправления. У HTTP и HTTP есть следующее: < /p>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /media...
DirectoryIndex index.html index.php
ServerName example.com
ServerAlias www.example.com
#Options FollowSymlinks
#AllowOverride None
Require all granted
Options Indexes FollowSymLinks MultiViews
AllowOverride All
allow from all
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /media...
DirectoryIndex index.html index.php
ServerName example.com
ServerAlias www.example.com
Options Indexes FollowSymlinks MultiViews
AllowOverride All
Allow from all
Require all granted
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
#RewriteEngine on
#RewriteCond %{SERVER_NAME} =www.example.com [OR]
#RewriteCond %{SERVER_NAME} =example.com
#RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
< /code>
Как я могу отследить, что вызывает ошибку 401? Если бы я был в IIS, я бы подумал, что это была файловая вещь. Это возможно здесь? Я также читал, что может быть возможность для IP -блоков, но я не добавил ничего, чтобы сделать это, если только на сервере Ubuntu нет новых вещей, о которых я не знаю.
Подробнее здесь: [url]https://stackoverflow.com/questions/79501877/apache-401-unauthorized-error-during-acme-challenge-lets-encrypt[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия