From: Maxim Savrilov <Maxim.Savrilov@oberon.novocybersk.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] vhosts in Apache
Date: Thu Feb 22 12:51:12 2001
Message-ID: <3A94E114.17C1A9D5@oberon.novocybersk.ru> (raw)
In-Reply-To: <20010222022643.F7188@localhost.localdomain>
Mikhail Zabaluev wrote:
> >
> > Кстати, а как сделать так, чтобы файлы типа index.html и index.cgi
> > обрабатывались автоматически? DirectoryIndex с виртуальными хостами не
> > работает почему-то :-(
>
> Если нужен индекс в каталоге с cgi-bin, выставьте опцию Indexes для этого
> каталога:
>
> <Directory /usr/local/apache/cgi-bin>
> Options ExecCGI Indexes
> ...
> </Directory>
Скорее, имелось в виду, чтобы файлом, выдаваемом по умолчанию был не только
index.html, но и index.cgi
во-первых, посмотрите в мануале, в каком контексте можно употреблять
DirectoryIndex
навскидку это <Directory> и .htaccess (при правильно установленной AllowOverride в
основном конфиге)
во-вторых, чтобы cgi-скрипты могли запускаться не только из cgi-bin, надо
раскомментарить одну строку в httpd.conf
поищите там сочетание "AddHandler cgi-script .cgi" (без кавычек)
в-третьих - у апача прекрасный мануал, просмотрите хотя-бы RunTime configuration
directives и сразу многое станет понятно
--
...а если воспользоваться гороховыми ускорителями...
Maxim Savrilov http://www.novocybersk.ru/
--
next prev parent reply other threads:[~2001-02-22 12:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-20 3:56 Dmitry Samoyloff
2001-02-20 8:58 ` Maxim Savrilov
2001-02-20 9:34 ` Re[2]: " Sergey Krivulja
2001-02-20 9:41 ` Maxim Savrilov
2001-02-21 4:43 ` Dmitry Samoyloff
2001-02-22 12:38 ` Mikhail Zabaluev
2001-02-22 12:51 ` Maxim Savrilov [this message]
2001-02-23 6:07 ` Dmitry Samoyloff
2001-02-24 20:16 ` Mikhail Zabaluev
2001-02-25 4:39 ` Dmitry Samoyloff
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=3A94E114.17C1A9D5@oberon.novocybersk.ru \
--to=maxim.savrilov@oberon.novocybersk.ru \
--cc=mandrake-russian@linuxteam.iplabs.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