ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] [Apache] не получается запустить cgi-скрипты
@ 2003-02-15 15:30 Alexey Vakhov
  2003-02-15 16:16 ` [JT]Re: " Alexey Vakhov
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Vakhov @ 2003-02-15 15:30 UTC (permalink / raw)
  To: ALTLinux

Привет All!
Помогите плиз настроить Apache. Никак не получается запустить
cgi-скрипты. Задача: нужно что бы с локального хоста можно было
поэкспериментировать с простенькими bash-скриптами. Вот что показывает
cat /etc/httpd/conf/httpd.conf (я вырезал, то что, кажется, не должно влиять на ответ)

LoadModule cgi_module         modules/mod_cgi.so
LoadModule alias_module       modules/mod_alias.so
ClearModuleList
AddModule mod_cgi.c
AddModule mod_alias.c
User apache
Group apache
DocumentRoot "/var/www/html"

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory "/var/www/html">
    Options Indexes Includes FollowSymLinks MultiViews ExecCGI
    AllowOverride Options 
    Order allow,deny
    Allow from 127.0.0.1
    <Files index.shtml.ru.*>
		<IfModule mod_charset.c>
			CharsetDisable On
		</IfModule>
	</Files>
	AddHandler cgi-script .cgi
</Directory>

<IfModule mod_alias.c>
    Alias /icons/ "/var/www/icons/"
    <Directory "/var/www/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    Alias /addon-modules/images/ /var/www/html/manual/images/
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
    ScriptAlias /protected-cgi-bin/ "/var/www/protected-cgi-bin/"
    <Directory "/var/www/cgi-bin">
        AllowOverride None
        Options ExecCGI
        Order allow,deny
		Allow from 127.0.0.1
		AddHandler cgi-script .cgi	
    </Directory>
    <Directory "/var/www/protected-cgi-bin">
        AllowOverride None
        Options ExecCGI
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1 localhost
        #Allow from .your_domain.com
    </Directory>
</IfModule>

И в чём проблема никак ни могу понять не запускаются и всё :-( 
P.S Чтение документации не помогло

--
Alex mailto:vahov@dgap.mipt.ru


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

* [JT]Re: [Comm] [Apache] не получается запустить cgi-скрипты
  2003-02-15 15:30 [Comm] [Apache] не получается запустить cgi-скрипты Alexey Vakhov
@ 2003-02-15 16:16 ` Alexey Vakhov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Vakhov @ 2003-02-15 16:16 UTC (permalink / raw)
  To: community

Извините за беспокойство - разобрался сам.

-- 
Алексей mailto:vahov@dgap.mipt.ru                     
ICQ 135869465



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

end of thread, other threads:[~2003-02-15 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-15 15:30 [Comm] [Apache] не получается запустить cgi-скрипты Alexey Vakhov
2003-02-15 16:16 ` [JT]Re: " Alexey Vakhov

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