From: Michael Shigorin <mike@osdn.org.ua>
To: community@altlinux.ru
Subject: [Comm] Re: apache + mod_rewrite trouble
Date: Wed, 6 Apr 2005 22:19:54 +0300
Message-ID: <20050406191954.GP25257@osdn.org.ua> (raw)
In-Reply-To: <4253CAEF.000003.17979@camay.yandex.ru>
On Wed, Apr 06, 2005 at 03:41:35PM +0400, dm wrote:
> Понадобилось тут поставить на apache php-программу, которая
> хочет mod_rewrite. После установки имею стойкое впечатление,
> что mod_rewrite не работает.
У меня работает.
> Положенные две строки в конфиге раскомментированы.
Угу.
> Пробовал дебильный пример: создал vhost с одним http файлом в
> корне и настройкой RewriteRule ^redir.html$ - [F] .htaccess.
> Обращение на vtest.localdomain/redir.html к отказу не приводит,
> то есть дело не в проге, а всё-таки в настройках rewrite. Что
> не так?
На linux.kiev.ua сейчас включено буквально следующее:
RewriteEngine On
#RewriteRule ^/typo3$ - [L]
#RewriteRule ^/typo3/.*$ - [L]
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-l
#RewriteRule .* /index.php
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteRule ^/devel/ - [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
#RewriteRule .* /index.php
php_flag register_globals off
php_flag register_argc_argv off
RewriteCond %{QUERY_STRING} ^(.*)echr(.*) [OR]
RewriteCond %{QUERY_STRING} ^(.*)esystem(.*)
RewriteRule ^.*$ - [F]
Во Vhosts.conf RewriteEngine не фигурирует.
apache-1.3.33rusPL30.20-alt1.M24
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2005-04-06 19:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-06 11:41 [Comm] " dm
2005-04-06 11:44 ` Alexey I. Froloff
2005-04-06 11:50 ` dm
2005-04-06 11:58 ` Alexey I. Froloff
2005-04-06 22:45 ` [Comm] " Arioch
2005-04-07 6:22 ` Eugene Ostapets
2005-04-06 19:19 ` Michael Shigorin [this message]
2005-04-06 22:11 ` dm
2005-04-07 17:37 ` [Comm] [Summary] " dm
2005-04-08 7:54 ` iLL
2005-04-08 8:47 ` [Comm] " Michael Shigorin
2005-04-07 18:01 ` Michael Shigorin
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=20050406191954.GP25257@osdn.org.ua \
--to=mike@osdn.org.ua \
--cc=community@altlinux.ru \
/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