From: Maxim.Savrilov@socenter.ru
To: community@altlinux.ru
Subject: Re: [Comm] Only Apache CGI
Date: Thu, 4 Dec 2003 18:14:16 +0600
Message-ID: <20031204181416.1db9f3f8.Maxim.Savrilov@socenter.ru> (raw)
In-Reply-To: <3FCF3EF7.6000301@feht.dgtu.donetsk.ua>
[-- Attachment #1: Type: text/plain, Size: 904 bytes --]
On Thu, 04 Dec 2003 17:04:39 +0300
"Aleksander N. Gorohovski" <angel@feht.dgtu.donetsk.ua> wrote:
>
> И возвращаясь обратно к вопросу:
> Как можно сделать так, чтобы файл file.dan мог читать только сценарий
> main.cgi, а его содержимое не могло бы передаваться браузеру в случае
> указания его в адресной строке при обращении к серверу, например
> main.net, т.е.
если в .htaccess запретить доступ к файлу, он будет разрешать cgi-скриптам его читать?
попробуйте
можно запретить урл, в котором встречается main.net, из того что в голову приходит - mod_rewrite
но скорее всего это из пушки по воробью, поищите чего попроще
Вообще стоит просто пробежиться по списку директив апача. Они "говорящие", потом по крайней мере знаешь, где искать
--
...в 1969 году на Луну ступил первый человек, и человек этот был,
как ни странно, американцем, что косвенно подтверждала и его фамилия.
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
next prev parent reply other threads:[~2003-12-04 12:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-04 14:04 Aleksander N. Gorohovski
2003-12-04 12:14 ` Maxim.Savrilov [this message]
2003-12-04 12:36 ` Epiphanov Sergei
2003-12-04 12:41 ` Alexey Khobov
2003-12-04 12:45 ` Epiphanov Sergei
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=20031204181416.1db9f3f8.Maxim.Savrilov@socenter.ru \
--to=maxim.savrilov@socenter.ru \
--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