ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Avramenko Andrew <liksx@mail.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Проблема с авторизацией в apache.
Date: Mon, 27 Aug 2007 15:30:33 +0400
Message-ID: <46D2B5D9.3080204@mail.ru> (raw)

Доброго всем дня!

Стоит apache2-2.2.4-alt16, проксирует часть запросов на IIS. По 
следующей схеме:

...
ProxyPass /wiki/ !
ProxyPass /pma/ !

ProxyPass / http://192.168.4.2/

..

Т.е. сначала пишутся исключения, а все остальное -- на IIS.

Когда прописываю авторизацию:
<Directory "/net/www/html/pma">
                 Options Indexes FollowSymLinks MultiViews
                 AllowOverride None
                 AuthType basic
                 AuthName "Please enter a password:"
                 AuthUserFile /net/www/private/psw.txt
                 Require valid-user
</Directory>

исключение не отрабатывает, происходит переадресация на IIS и как 
следствие - err 404. Если выносить это в .htaccess - такая же проблема.

Если отключать проксирование - все нормально, спрашивает пароль.
В чем может быть проблема?


--
С уважением,
Андрей


             reply	other threads:[~2007-08-27 11:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-27 11:30 Avramenko Andrew [this message]
2007-08-31 16:12 ` Michael Shigorin
2007-09-03  8:06   ` Avramenko Andrew
2007-09-03  8:16     ` Алексей Шенцев
2007-09-03 13:58       ` Avramenko Andrew
2007-09-03 14:06         ` Алексей Шенцев
2007-09-03 14:10           ` Avramenko Andrew
2007-09-04 17:19             ` Michael Shigorin
2007-09-10 13:04 ` Avramenko Andrew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46D2B5D9.3080204@mail.ru \
    --to=liksx@mail.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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