ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] apache2 htaccess RewriteEngine
@ 2009-06-03  7:42 Михаил Паршин ака SKeeper
  2009-06-03  7:49 ` Boris Savelev
  0 siblings, 1 reply; 3+ messages in thread
From: Михаил Паршин ака SKeeper @ 2009-06-03  7:42 UTC (permalink / raw)
  To: ALT Linux Community general discussions

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 не мой и взят с 
работающего хоста.
Подскажите в чем проблема. Заранее спасибо.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] apache2 htaccess RewriteEngine
  2009-06-03  7:42 [Comm] apache2 htaccess RewriteEngine Михаил Паршин ака SKeeper
@ 2009-06-03  7:49 ` Boris Savelev
  2009-06-03  8:23   ` Михаил Паршин ака SKeeper
  0 siblings, 1 reply; 3+ messages in thread
From: Boris Savelev @ 2009-06-03  7:49 UTC (permalink / raw)
  To: ALT Linux Community general discussions

php5_value magic_quotes_gpc 0
php5_value magic_quotes_runtime 0
php5_flag display_errors 1
php5_value error_reporting 7

3 июня 2009 г. 11:42 пользователь Михаил Паршин ака SKeeper
<alt-skeeper@yandex.ru> написал:
> php_value magic_quotes_gpc 0
> php_value magic_quotes_runtime 0
> php_flag display_errors 1
> php_value error_reporting 7



-- 
С уважением, Борис Савельев


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] apache2 htaccess RewriteEngine
  2009-06-03  7:49 ` Boris Savelev
@ 2009-06-03  8:23   ` Михаил Паршин ака SKeeper
  0 siblings, 0 replies; 3+ messages in thread
From: Михаил Паршин ака SKeeper @ 2009-06-03  8:23 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Спасибо, теперь работает.



Boris Savelev пишет:
> php5_value magic_quotes_gpc 0
> php5_value magic_quotes_runtime 0
> php5_flag display_errors 1
> php5_value error_reporting 7
>
> 3 июня 2009 г. 11:42 пользователь Михаил Паршин ака SKeeper
> <alt-skeeper@yandex.ru> написал:
>   
>> php_value magic_quotes_gpc 0
>> php_value magic_quotes_runtime 0
>> php_flag display_errors 1
>> php_value error_reporting 7
>>     
>
>
>
>   



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-03  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-03  7:42 [Comm] apache2 htaccess RewriteEngine Михаил Паршин ака SKeeper
2009-06-03  7:49 ` Boris Savelev
2009-06-03  8:23   ` Михаил Паршин ака SKeeper

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