ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] apache2
Date: Wed, 27 Feb 2008 16:59:10 +1000
Message-ID: <47C50A3E.2020404@sakhalin.ru> (raw)
In-Reply-To: <1614573812.20080227083505@moldavcable.com>

Макс Бурковский пишет:
> Здравствуйте Michael,
> 
> Tuesday, February 26, 2008, 9:42:57 PM, вы писали:
> 
> MS> On Tue, Feb 26, 2008 at 11:43:08AM +0200, Макс Бурковский wrote:
>>> обнаружил хитрую особенность
>>> если сделать файлик .htaccess с каким-нить левым содержимым в
>>> корневом разделе / например
>>> echo aaa > /.htaccess
>>> То при попытке зайти на какой-нить сайт, поднятый в апаче получаем
>>> "internal server error"
>>> к чему бы это?
> 
> MS> К тому, что в error_log будет более подробная ругань на такой вот
> MS> кривой .htaccess -- он ведь тоже принимается в расчёт.
> 
> я имею ввиду - почему апач ругается на htaccess файл, который лежит не
> гденить в /var/www/vhosts/mysite/.htaccess
> а в _корне_ диска /.htaccess ?
> почему он принимается в расчет? имхо как-то нелогично..

Вимательно смотреть конфиг сервера.

Hint:

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

-- 
WBR, Dmitry Lebkov


  reply	other threads:[~2008-02-27  6:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-26  9:43 Макс Бурковский
2008-02-26 19:42 ` Michael Shigorin
2008-02-27  6:35   ` Макс Бурковский
2008-02-27  6:59     ` Dmitry Lebkov [this message]
2008-02-27  9:08       ` Щербина Тимур

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=47C50A3E.2020404@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git