From: "Михаил Паршин ака SKeeper" <alt-skeeper@yandex.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] apache2 htaccess RewriteEngine Date: Wed, 03 Jun 2009 11:42:08 +0400 Message-ID: <4A262950.6070309@yandex.ru> (raw) branch 4.1 apache2-httpd-prefork 2.2.8-alt1 Есть .htaccess такого вида: DirectoryIndex index.html index.php php_value magic_quotes_gpc 0 php_value magic_quotes_runtime 0 php_flag display_errors 1 php_value error_reporting 7 RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?%{QUERY_STRING} RewriteRule ^(.+)\.html$ index.php?%{QUERY_STRING} AddDefaultCharset UTF-8 Из-за него хост выдает Err 500. Первую и последнюю строчки воспринимает нормально, а вот на все остальное ругается. htaccess не мой и взят с работающего хоста. Подскажите в чем проблема. Заранее спасибо.
next reply other threads:[~2009-06-03 7:42 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-06-03 7:42 Михаил Паршин ака SKeeper [this message] 2009-06-03 7:49 ` Boris Savelev 2009-06-03 8:23 ` Михаил Паршин ака SKeeper
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=4A262950.6070309@yandex.ru \ --to=alt-skeeper@yandex.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