From: "Nikolay A. Fetisov" <naf@naf.net.ru> To: community@lists.altlinux.org Subject: Re: [Comm] Как запустить перл скрипты на apache2 Date: Sun, 30 Oct 2011 09:49:45 +0400 Message-ID: <1319953787.73978.36.camel@v3405.naf.net.ru> (raw) In-Reply-To: <CABf0-zzt1Hj=WtcRds8hkgP5qdvZ7dJj8mUtNAJkBJQxyEurgg@mail.gmail.com> В Вск, 30/10/2011 в 05:43 +0200, Vasiliy Vasilievich Zdanovskiy пишет: > Столкнулся с такой проблемой: > поставил апач 2 > зашел на http://localhost/cgi-bin/printenv > и получил вместо вывода перла код скрипта в виде html > в логах видно, что перл модуль есть. ... > Подскажите пожалуйста где его пнуть, чтобы заработало. Для /cgi-bin/ - достаточно включить mod_cgi, mod_perl не нужен вообще. В общем случае, для работы через CGI (для чего mod_perl не нужен) - включить mod_cgi, # a2enmod cgi Плюс включить для соответствующего Location ' Options +ExecCGI', или описывать его через ScriptAlias. Для работы через mod_perl (для чего mod_cgi не нужен) - включить mod_perl (a2enmod perl), для соответствующего Location установить 'SetHandler perl-script' и 'Options +ExecCGI'. -- С уважением, Николай Фетисов
next prev parent reply other threads:[~2011-10-30 5:49 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-10-30 3:43 Vasiliy Vasilievich Zdanovskiy 2011-10-30 5:49 ` Nikolay A. Fetisov [this message] 2011-10-30 14:34 ` Vasiliy Vasilievich Zdanovskiy 2011-10-30 15:55 ` Aleksey Avdeev
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=1319953787.73978.36.camel@v3405.naf.net.ru \ --to=naf@naf.net.ru \ --cc=community@lists.altlinux.org \ /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