powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Как вкл поддержку mod_auth в Apache?
4 сообщений из 4, страница 1 из 1
Как вкл поддержку mod_auth в Apache?
    #36162020
armix2000
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Купили VPS смотрю httpd -l модули


Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

Модуля mod_auth нету, из-за этого не работает наверное прохождение пароля .htaccess

Пишет
access to /admin failed, reason: require directives present and no Authoritative handler.

Что делать подскажите плиз, как это исправить?
На сервере стоит установщик yum, может как-то с ним можно установить?
...
Рейтинг: 0 / 0
Как вкл поддержку mod_auth в Apache?
    #36163111
Фотография Niemi
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
1.
apachectl -V
Server version: Apache/2.2.9 (Unix)
Server built: Jul 14 2008 15:36:01
Server's Module Magic Number: 20051115:15
Server loaded: APR 1.2.12, APR-Util 1.2.12
Compiled using: APR 1.2.12, APR-Util 1.2.12
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
2.
apachectl -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

3.
pachectl -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
auth_basic_module (shared)
authn_alias_module (shared)
authz_host_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
ext_filter_module (shared)
mime_magic_module (shared)
expires_module (shared)
deflate_module (shared)
headers_module (shared)
usertrack_module (shared)
setenvif_module (shared)
mime_module (shared)
autoindex_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
actions_module (shared)
alias_module (shared)
rewrite_module (shared)
proxy_module (shared)
proxy_http_module (shared)
proxy_connect_module (shared)
cache_module (shared)
suexec_module (shared)
disk_cache_module (shared)
file_cache_module (shared)
mem_cache_module (shared)
cgi_module (shared)
cband_module (shared)
extract_forwarded_module (shared)
geoip_module (shared)
security2_module (shared)
unique_id_module (shared)
proxy_ajp_module (shared)
ssl_module (shared)
php5_module (shared)
Syntax OK
...
Рейтинг: 0 / 0
Как вкл поддержку mod_auth в Apache?
    #36163377
armix2000
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Вот мои параметры Апача

apachectl -V
Server version: Apache/2.2.3
Server built: Jan 15 2008 20:33:30
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"




apachectl -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c




apachectl -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
authn_file_module (shared)
actions_module (shared)
alias_module (shared)
asis_module (shared)
auth_basic_module (shared)
authz_default_module (shared)
authz_host_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
headers_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
negotiation_module (shared)
rewrite_module (shared)
setenvif_module (shared)
speling_module (shared)
vhost_alias_module (shared)
php5_module (shared)
Syntax OK
...
Рейтинг: 0 / 0
Как вкл поддержку mod_auth в Apache?
    #36164289
Фотография Niemi
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
armix2000,

и что же за замечательные модули у вас:
auth_basic_module (shared)
authz_default_module (shared)
authz_host_module (shared)

ничего не смущает.
...
Рейтинг: 0 / 0
4 сообщений из 4, страница 1 из 1
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Как вкл поддержку mod_auth в Apache?
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]