ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] Апач  и cgi
@ 2002-04-12 13:35 Тутов Роман
  2002-04-12 14:17 ` [mdk-re] " Artem K. Jouravsky
  0 siblings, 1 reply; 6+ messages in thread
From: Тутов Роман @ 2002-04-12 13:35 UTC (permalink / raw)
  To: mandrake-russian@altlinux.ru 

Можно-ли разрешать запускать из домашнего каталога пользователя
cgi скрипты ?

Если
это не противоречит понятиям безопасности . то как это
обьяснить апачу ?

--
Тутов
Роман  Системный администратор OOO 'Forcom'
Roman_Tutov@forcom.rnd.ru

icq:128364176







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

* [mdk-re] Re: Апач  и cgi
  2002-04-12 13:35 [mdk-re] Апач и cgi Тутов Роман
@ 2002-04-12 14:17 ` Artem K. Jouravsky
  2002-04-12 14:55   ` [mdk-re] " Тутов Роман
  0 siblings, 1 reply; 6+ messages in thread
From: Artem K. Jouravsky @ 2002-04-12 14:17 UTC (permalink / raw)
  To: mandrake-russian@altlinux.ru 

On Fri, Apr 12, 2002 at 01:34:32PM -0400, Тутов Роман wrote:
> Можно-ли разрешать запускать из домашнего каталога пользователя
> cgi скрипты ?
> 
> Если
> это не противоречит понятиям безопасности . то как это
> обьяснить апачу ?
Дать скрипту расширение какое описано у Апача (скорее всего, это будет
например .cgi) и проверить чтобы не было явного запрещения на запуск CGI в
конфиге Апача

-- 
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
The computer fletely, mouse and all.



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

* [mdk-re] Re: [mdk-re] Re: Апач  и cgi
  2002-04-12 14:17 ` [mdk-re] " Artem K. Jouravsky
@ 2002-04-12 14:55   ` Тутов Роман
  2002-04-12 15:42     ` Artem K. Jouravsky
  0 siblings, 1 reply; 6+ messages in thread
From: Тутов Роман @ 2002-04-12 14:55 UTC (permalink / raw)
  To: mandrake-russian@altlinux.ru 

> On Fri, Apr 12, 2002 at 01:34:32PM -0400, Тутов Роман wrote:
>> Можно-ли разрешать
запускать из домашнего каталога пользователя
>> cgi скрипты ?
>>
>> Если
>> это не
противоречит понятиям безопасности . то как это
>> обьяснить апачу ?
> Дать скрипту
расширение какое описано у Апача (скорее всего, это будет
> например .cgi) и проверить
чтобы не было явного запрещения на запуск
> CGI в конфиге Апача
>
Прописал в конфиге
такую конструкцию

<Directory /home/*/www>
    AllowOverride FileInfo AuthConfig
Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch
#     Options MultiViews Indexes
SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS PROPFIND>
        Order
allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS PROPFIND>
        Order
deny,allow
        Deny from all
    </LimitExcept>
</Directory>
[пропущено]


ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

[пропущено]

   <Directory
"home/*/www/cgi-bin/">
        AllowOverride None
        Options ExecCGI
        Order allow,deny

Allow from All
    </Directory>
положил в каталог /home/user/www/cgi-bin
скриптик
текстовый . который заведомо рабочий
запускается из cgi-bin сервера
и при обращениии к
серверу получаю :

Internal Server Error

The server encountered an internal error
or misconfiguration and was unable to complete your request.

Please contact the server
administrator, admin@forcom.rnd.ru and inform them of the time the error
occurred, andanything you might have done that may have caused the error.

More information about this
error may be available in the server error log.

что не так ?
--
Тутов Роман  Системный
администратор OOO 'Forcom'
Roman_Tutov@forcom.rnd.ru           icq:128364176







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

* [mdk-re] Re: Апач  и cgi
  2002-04-12 14:55   ` [mdk-re] " Тутов Роман
@ 2002-04-12 15:42     ` Artem K. Jouravsky
  2002-04-12 16:07       ` [mdk-re] " Тутов Роман
  0 siblings, 1 reply; 6+ messages in thread
From: Artem K. Jouravsky @ 2002-04-12 15:42 UTC (permalink / raw)
  To: mandrake-russian@altlinux.ru 

On Fri, Apr 12, 2002 at 02:54:47PM -0400, Тутов Роман wrote:
> > On Fri, Apr 12, 2002 at 01:34:32PM -0400, Тутов Роман wrote:
> >> Можно-ли разрешать
> запускать из домашнего каталога пользователя
> >> cgi скрипты ?
> >>
> >> Если
> >> это не
> противоречит понятиям безопасности . то как это
> >> обьяснить апачу ?
> > Дать скрипту
> расширение какое описано у Апача (скорее всего, это будет
> > например .cgi) и проверить
> чтобы не было явного запрещения на запуск
> > CGI в конфиге Апача
> >
> Прописал в конфиге
> такую конструкцию
> 
> <Directory /home/*/www>
>     AllowOverride FileInfo AuthConfig
> Limit
>     Options MultiViews Indexes SymLinksIfOwnerMatch
> #     Options MultiViews Indexes
> SymLinksIfOwnerMatch IncludesNoExec
>     <Limit GET POST OPTIONS PROPFIND>
>         Order
> allow,deny
>         Allow from all
>     </Limit>
>     <LimitExcept GET POST OPTIONS PROPFIND>
>         Order
> deny,allow
>         Deny from all
>     </LimitExcept>
> </Directory>
> [пропущено]
> 
> 
> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
> 
> [пропущено]
> 
>    <Directory
> "home/*/www/cgi-bin/">
>         AllowOverride None
>         Options ExecCGI
>         Order allow,deny
> 
> Allow from All
>     </Directory>
> положил в каталог /home/user/www/cgi-bin
> скриптик
> текстовый . который заведомо рабочий
> запускается из cgi-bin сервера
> и при обращениии к
> серверу получаю :
> 
> Internal Server Error
> 
> The server encountered an internal error
> or misconfiguration and was unable to complete your request.
> 
> Please contact the server
> administrator, admin@forcom.rnd.ru and inform them of the time the error
> occurred, andanything you might have done that may have caused the error.
> 
> More information about this
> error may be available in the server error log.
> 
> что не так ?
А в логах что?
Кстати, не обязательно класть в cgi-bin

-- 
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
The Macintosh is Xerox technology at its best.



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

* [mdk-re] Re: [mdk-re] Re: Апач  и cgi
  2002-04-12 15:42     ` Artem K. Jouravsky
@ 2002-04-12 16:07       ` Тутов Роман
  2002-04-12 18:12         ` Artem K. Jouravsky
  0 siblings, 1 reply; 6+ messages in thread
From: Тутов Роман @ 2002-04-12 16:07 UTC (permalink / raw)
  To: mandrake-russian@altlinux.ru 

>>
>> что не так ?
> А в логах что?
> Кстати, не обязательно класть в cgi-bin
>
В логе следующее
:
Options ExecCGI is off in this directory:



--
Тутов Роман  Системный администратор OOO
'Forcom'
Roman_Tutov@forcom.rnd.ru           icq:128364176







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

* [mdk-re] Re: Апач  и cgi
  2002-04-12 16:07       ` [mdk-re] " Тутов Роман
@ 2002-04-12 18:12         ` Artem K. Jouravsky
  0 siblings, 0 replies; 6+ messages in thread
From: Artem K. Jouravsky @ 2002-04-12 18:12 UTC (permalink / raw)
  To: mandrake-russian@altlinux.ru 

On Fri, Apr 12, 2002 at 04:06:35PM -0400, Тутов Роман wrote:
> >>
> >> что не так ?
> > А в логах что?
> > Кстати, не обязательно класть в cgi-bin
> >
> В логе следующее
> :
> Options ExecCGI is off in this directory:
Так оно у вас и не включено - то что вы его включили для папки
/var/www/cgi-bin не включает его для папок /home/*/www, посмотрите
							    

-- 
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
Hot Java has gone cold



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

end of thread, other threads:[~2002-04-12 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-12 13:35 [mdk-re] Апач и cgi Тутов Роман
2002-04-12 14:17 ` [mdk-re] " Artem K. Jouravsky
2002-04-12 14:55   ` [mdk-re] " Тутов Роман
2002-04-12 15:42     ` Artem K. Jouravsky
2002-04-12 16:07       ` [mdk-re] " Тутов Роман
2002-04-12 18:12         ` Artem K. Jouravsky

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