* [Comm] Настройка SSI локального сервера, файлы php
@ 2008-04-03 18:50 Брагин Алексей
2008-04-04 8:36 ` Michael Shigorin
0 siblings, 1 reply; 2+ messages in thread
From: Брагин Алексей @ 2008-04-03 18:50 UTC (permalink / raw)
To: community
Здравствуйте. Подскажите пожалуйста, как настроить апачь, что бы корректно работал ssi Все сделано по книжкам, а именно отредактирован httpd.conf
Тут отредактировано...
<Directory />
Options Indexes FollowSymLinks +Includes
AllowOverride None
</Directory>
тут
AddType text/html .shtml
AddHandler server-parsed .shtml
SSI работает, то есть простые файлы типа .txt вставляются, а вот файлы .php не работают. Как сделать что бы корректо вставлялись файлы php? На хостинге все работает замечательно, но я не гляну как апачь настроен.
--
Яндекс.Почта. Поищите спам где-нибудь еще http://mail.yandex.ru/nospam
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Настройка SSI локального сервера, файлы php
2008-04-03 18:50 [Comm] Настройка SSI локального сервера, файлы php Брагин Алексей
@ 2008-04-04 8:36 ` Michael Shigorin
0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2008-04-04 8:36 UTC (permalink / raw)
To: community
On Thu, Apr 03, 2008 at 10:50:42PM +0400, Брагин Алексей wrote:
> SSI работает, то есть простые файлы типа .txt вставляются, а
> вот файлы .php не работают. Как сделать что бы корректо
> вставлялись файлы php? На хостинге все работает замечательно,
> но я не гляну как апачь настроен.
php != ssi, они не "вставляются", а интерпретируются сами по себе.
apt-cache search mod_php
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-04 8:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-03 18:50 [Comm] Настройка SSI локального сервера, файлы php Брагин Алексей
2008-04-04 8:36 ` Michael Shigorin
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