ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Vakhov <vahov@dgap.mipt.ru>
To: ALTLinux <community@altlinux.ru>
Subject: [Comm] [Apache] не получается запустить cgi-скрипты
Date: Sat, 15 Feb 2003 18:30:25 +0300
Message-ID: <20030215183025.25c9e647.vahov@dgap.mipt.ru> (raw)

Привет 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


             reply	other threads:[~2003-02-15 15:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-15 15:30 Alexey Vakhov [this message]
2003-02-15 16:16 ` [JT]Re: " Alexey Vakhov

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=20030215183025.25c9e647.vahov@dgap.mipt.ru \
    --to=vahov@dgap.mipt.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