* [Sysadmins] apache2 & htaccess
@ 2009-01-23 12:32 altlinux
2009-01-23 13:13 ` Boris Savelev
2009-01-24 0:18 ` Alexey I. Froloff
0 siblings, 2 replies; 5+ messages in thread
From: altlinux @ 2009-01-23 12:32 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Пытаюсь использовать .htaccess но получается ошибка
The server encountered an internal error and was unable to complete your
request. Either the server is overloaded or there was an error in a CGI
script.
Что нужно подкрутить?
[root@gate git]# cat .htaccess
Order deny,allow
Deny from all
Allow from 192.168.100.
AuthType Basic
AuthName "hello"
AuthUserFile /var/www/.htpaswdgit
require valid-user
[root@gate git]# httpd2 -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
negotiation_module (shared)
perl_module (shared)
rewrite_module (shared)
php5_module (shared)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Sysadmins] apache2 & htaccess
2009-01-23 12:32 [Sysadmins] apache2 & htaccess altlinux
@ 2009-01-23 13:13 ` Boris Savelev
2009-01-23 14:01 ` altlinux
2009-01-24 0:18 ` Alexey I. Froloff
1 sibling, 1 reply; 5+ messages in thread
From: Boris Savelev @ 2009-01-23 13:13 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
2009/1/23 altlinux@aaanet.ru <altlinux@aaanet.ru>:
> Пытаюсь использовать .htaccess но получается ошибка
> The server encountered an internal error and was unable to complete your
> request. Either the server is overloaded or there was an error in a CGI
> script.
вроде как a2enmod authn_anon и reload должно хватить
--
С уважением, Борис Савельев
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Sysadmins] apache2 & htaccess
2009-01-23 13:13 ` Boris Savelev
@ 2009-01-23 14:01 ` altlinux
0 siblings, 0 replies; 5+ messages in thread
From: altlinux @ 2009-01-23 14:01 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
подгрузил модуль перегрузил apache, не получается
[root@gate mods-available]# [root@gate git]# httpd2 -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_anon_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
negotiation_module (shared)
perl_module (shared)
rewrite_module (shared)
php5_module (shared)
Syntax OK
> вроде как a2enmod authn_anon и reload должно хватить
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Sysadmins] apache2 & htaccess
2009-01-23 12:32 [Sysadmins] apache2 & htaccess altlinux
2009-01-23 13:13 ` Boris Savelev
@ 2009-01-24 0:18 ` Alexey I. Froloff
2009-01-24 1:55 ` XoXa
1 sibling, 1 reply; 5+ messages in thread
From: Alexey I. Froloff @ 2009-01-24 0:18 UTC (permalink / raw)
To: sysadmins
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
* altlinux@aaanet.ru <altlinux@> [090123 15:36]:
> Пытаюсь использовать .htaccess но получается ошибка
> The server encountered an internal error and was unable to complete your
> request. Either the server is overloaded or there was an error in a CGI
> script.
> Что нужно подкрутить?
Ну а в логи кто смотреть будет?
--
Regards,
Sir Raorn.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Sysadmins] apache2 & htaccess
2009-01-24 0:18 ` Alexey I. Froloff
@ 2009-01-24 1:55 ` XoXa
0 siblings, 0 replies; 5+ messages in thread
From: XoXa @ 2009-01-24 1:55 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Alexey I. Froloff <raorn@altlinux.ru> писал(а) в своём письме Sat, 24 Jan
2009 03:18:45 +0300:
> * altlinux@aaanet.ru <altlinux@> [090123 15:36]:
>> Пытаюсь использовать .htaccess но получается ошибка
>> The server encountered an internal error and was unable to complete your
>> request. Either the server is overloaded or there was an error in a CGI
>> script.
>> Что нужно подкрутить?
> Ну а в логи кто смотреть будет?
>
А спать кто-нибудь будет? А женщин? =)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-24 1:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-23 12:32 [Sysadmins] apache2 & htaccess altlinux
2009-01-23 13:13 ` Boris Savelev
2009-01-23 14:01 ` altlinux
2009-01-24 0:18 ` Alexey I. Froloff
2009-01-24 1:55 ` XoXa
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git